X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;ds=sidebyside;f=board%2Fcm-bf533%2Fcm-bf533.c;h=02ef076735e719d7d26b5da8b864a20cc8b5d37e;hb=12c67d7522d77c5aa5ee1e5ec4147b569ccb7666;hp=7eb761dcc88045733717d2a46181040f7e6dab43;hpb=bec9cab9291bb221714d559a44fe37669a8ca604;p=u-boot diff --git a/board/cm-bf533/cm-bf533.c b/board/cm-bf533/cm-bf533.c index 7eb761dcc8..02ef076735 100644 --- a/board/cm-bf533/cm-bf533.c +++ b/board/cm-bf533/cm-bf533.c @@ -1,5 +1,5 @@ /* - * U-boot - main board file + * U-Boot - main board file * * Copyright (c) 2005-2008 Analog Devices Inc. * @@ -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