add SPI ethernet

This commit is contained in:
Philippe G
2021-10-31 14:47:28 -07:00
parent 97ae01b89f
commit 2805629c4b
5 changed files with 180 additions and 61 deletions

View File

@@ -31,9 +31,13 @@ typedef struct {
} display_config_t;
typedef struct {
int mdc;
int mdio;
bool rmii;
char model[16];
int rst;
int mdc, mdio;
int host;
int cs, mosi, miso, intr, clk;
int speed;
} eth_config_t;
typedef struct {