X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=board%2Fcm-bf533%2Fcm-bf533.c;h=a863195057d121aeeeb6d874bb4dff11ad4ed4e3;hb=fdbe8b9a2d1858ba35dd6214315563ad44d4a0e3;hp=7eb761dcc88045733717d2a46181040f7e6dab43;hpb=c9005a72fee4231e30fe93c1741cea2342c54504;p=u-boot diff --git a/board/cm-bf533/cm-bf533.c b/board/cm-bf533/cm-bf533.c index 7eb761dcc8..a863195057 100644 --- a/board/cm-bf533/cm-bf533.c +++ b/board/cm-bf533/cm-bf533.c @@ -7,6 +7,7 @@ */ #include +#include DECLARE_GLOBAL_DATA_PTR; @@ -17,9 +18,9 @@ int checkboard(void) return 0; } -phys_size_t initdram(int board_type) +#ifdef CONFIG_SMC91111 +int board_eth_init(bd_t *bis) { - gd->bd->bi_memstart = CONFIG_SYS_SDRAM_BASE; - gd->bd->bi_memsize = CONFIG_SYS_MAX_RAM_SIZE; - return gd->bd->bi_memsize; + return smc91111_initialize(0, CONFIG_SMC91111_BASE); } +#endif