summaryrefslogtreecommitdiffstats
path: root/board/samsung/smdk2410/smdk2410.c
diff options
context:
space:
mode:
authorDavid Müller (ELSOFT AG) <d.mueller@elsoft.ch>2011-03-24 22:28:05 +0000
committerMinkyu Kang <mk7.kang@samsung.com>2011-05-26 19:29:13 +0900
commita5ec7f649427eb618126a3b8d6b2d81f92cf770f (patch)
tree141214bc3bdea610abbad9eb892576d6ee4b84d1 /board/samsung/smdk2410/smdk2410.c
parent4479fc5b2077a7ac4cb9cfc552ebdc3760e40675 (diff)
downloadblackbird-obmc-uboot-a5ec7f649427eb618126a3b8d6b2d81f92cf770f.tar.gz
blackbird-obmc-uboot-a5ec7f649427eb618126a3b8d6b2d81f92cf770f.zip
SMDK2410: use the CFI driver (and remove the old one)
Signed-off-by: David Müller <d.mueller@elsoft.ch> Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Diffstat (limited to 'board/samsung/smdk2410/smdk2410.c')
-rw-r--r--board/samsung/smdk2410/smdk2410.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/board/samsung/smdk2410/smdk2410.c b/board/samsung/smdk2410/smdk2410.c
index 76a24bb939..1abc4ba6a5 100644
--- a/board/samsung/smdk2410/smdk2410.c
+++ b/board/samsung/smdk2410/smdk2410.c
@@ -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;
+}
OpenPOWER on IntegriCloud