]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - board/cm-bf561/cm-bf561.c
spi_flash: Add spi_flash_probe_fdt() to locate SPI by FDT node
[karo-tx-uboot.git] / board / cm-bf561 / cm-bf561.c
index f21a015e42c8e7db2e2d19f296e3d5da2855613e..5741f6410793744a6ce3f120d7299b2f950d4500 100644 (file)
@@ -18,16 +18,9 @@ int checkboard(void)
        return 0;
 }
 
-phys_size_t initdram(int board_type)
-{
-       gd->bd->bi_memstart = CONFIG_SYS_SDRAM_BASE;
-       gd->bd->bi_memsize = CONFIG_SYS_MAX_RAM_SIZE;
-       return gd->bd->bi_memsize;
-}
-
-#ifdef CONFIG_SMC91111
+#ifdef CONFIG_SMC911X
 int board_eth_init(bd_t *bis)
 {
-       return smc91111_initialize(0, CONFIG_SMC91111_BASE);
+       return smc911x_initialize(0, CONFIG_SMC911X_BASE);
 }
 #endif