diff options
Diffstat (limited to 'board/freescale/mx35_3stack')
-rw-r--r-- | board/freescale/mx35_3stack/mx35_3stack.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/board/freescale/mx35_3stack/mx35_3stack.c b/board/freescale/mx35_3stack/mx35_3stack.c index 267e9f1..41163f4 100644 --- a/board/freescale/mx35_3stack/mx35_3stack.c +++ b/board/freescale/mx35_3stack/mx35_3stack.c @@ -24,6 +24,7 @@ #include <common.h> #include <asm/io.h> +#include <asm/errno.h> #include <asm/arch/mx35.h> #include <asm/arch/mx35_pins.h> #include <asm/arch/iomux.h> @@ -269,3 +270,12 @@ int checkboard(void) printf("]\n"); return 0; } + +int board_eth_init(bd_t *bis) +{ + int rc = -ENODEV; +#if defined(CONFIG_DRIVER_SMC911X) + rc = smc911x_initialize(bis); +#endif + return rc; +} |