add SPI ethernet

This commit is contained in:
Philippe G
2021-10-31 14:45:35 -07:00
parent f4615462c7
commit 4f6dcc2cc7
4 changed files with 91 additions and 36 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 {