]> git.sur5r.net Git - u-boot/blobdiff - board/samsung/smdk2410/smdk2410.c
SMDK2410: use the CFI driver (and remove the old one)
[u-boot] / board / samsung / smdk2410 / smdk2410.c
index 76a24bb939878e00809660a2c13a6c3d22cfd7da..1abc4ba6a5041dc1069b8557e02b197590959507 100644 (file)
@@ -134,3 +134,15 @@ int board_eth_init(bd_t *bis)
        return rc;
 }
 #endif
+
+/*
+ * Hardcoded flash setup:
+ * Flash 0 is a non-CFI AMD AM29LV800BB flash.
+ */
+ulong board_flash_get_legacy(ulong base, int banknum, flash_info_t *info)
+{
+       info->portwidth = FLASH_CFI_16BIT;
+       info->chipwidth = FLASH_CFI_BY16;
+       info->interface = FLASH_CFI_X16;
+       return 1;
+}