X-Git-Url: https://git.kernelconcepts.de/?a=blobdiff_plain;f=board%2Faltera%2Fep1s40%2Fep1s40.c;h=6395de7293bb44bfc6b2a3a8509712c6e6fafde7;hb=0bf7de838096e804f0cece8f2d94905477381b6e;hp=cb755504765e7246a75fbe3357dcb034b47e805d;hpb=ad09083c3736ea72bceee92721933513d3137b66;p=karo-tx-uboot.git diff --git a/board/altera/ep1s40/ep1s40.c b/board/altera/ep1s40/ep1s40.c index cb75550476..6395de7293 100644 --- a/board/altera/ep1s40/ep1s40.c +++ b/board/altera/ep1s40/ep1s40.c @@ -22,6 +22,7 @@ */ #include +#include int checkboard (void) { @@ -29,7 +30,18 @@ int checkboard (void) return 0; } -long int initdram (int board_type) +phys_size_t initdram (int board_type) { return (0); } + +#ifdef CONFIG_CMD_NET +int board_eth_init(bd_t *bis) +{ + int rc = 0; +#ifdef CONFIG_SMC91111 + rc = smc91111_initialize(0, CONFIG_SMC91111_BASE); +#endif + return rc; +} +#endif