summaryrefslogtreecommitdiffstats
path: root/include/configs/bf537-stamp.h
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2008-02-18 05:32:30 -0500
committerMike Frysinger <vapier@gentoo.org>2008-03-15 22:17:21 -0400
commit1f2a9970109cebf7446e0503b10b71f8673045ee (patch)
tree1b90662513e012a28f728ac9791540cf46644a55 /include/configs/bf537-stamp.h
parent5b22163fef865af2b6bfb6b75f1b7bf443ce170c (diff)
downloadblackbird-obmc-uboot-1f2a9970109cebf7446e0503b10b71f8673045ee.tar.gz
blackbird-obmc-uboot-1f2a9970109cebf7446e0503b10b71f8673045ee.zip
Blackfin: BF537-stamp: drop board-specific flash driver for CFI
The parallel flash on the BF537-STAMP is CFI compliant, so there is no need for the board specific driver at all. Just use the common CFI driver. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'include/configs/bf537-stamp.h')
-rw-r--r--include/configs/bf537-stamp.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/include/configs/bf537-stamp.h b/include/configs/bf537-stamp.h
index 0679f43ea1..0e189d4324 100644
--- a/include/configs/bf537-stamp.h
+++ b/include/configs/bf537-stamp.h
@@ -286,6 +286,11 @@
#define CFG_SDRAM_BASE 0x00000000
#define CFG_FLASH_BASE 0x20000000
+#define CFG_FLASH_CFI /* The flash is CFI compatible */
+#define CFG_FLASH_CFI_DRIVER /* Use common CFI driver */
+#define CFG_FLASH_PROTECTION
+#define CFG_MAX_FLASH_BANKS 1
+#define CFG_MAX_FLASH_SECT 71 /* some have 67 sectors (M29W320DB), but newer have 71 (M29W320EB) */
#define CFG_MONITOR_LEN (256 << 10) /* Reserve 256 kB for Monitor */
#define CFG_MONITOR_BASE (CFG_MAX_RAM_SIZE - CFG_MONITOR_LEN)
@@ -295,10 +300,6 @@
#define CFG_GBL_DATA_ADDR (CFG_MALLOC_BASE - CFG_GBL_DATA_SIZE)
#define CONFIG_STACKBASE (CFG_GBL_DATA_ADDR - 4)
-#define CFG_BOOTMAPSZ (8 << 20) /* Initial Memory map for Linux */
-#define CFG_MAX_FLASH_BANKS 1 /* max number of memory banks */
-#define CFG_MAX_FLASH_SECT 71 /* max number of sectors on one chip */
-
#if (BFIN_BOOT_MODE == BF537_BYPASS_BOOT) || (BFIN_BOOT_MODE == BF537_UART_BOOT)
/* for bf537-stamp, usrt boot mode still store env in flash */
#define CFG_ENV_IS_IN_FLASH 1
OpenPOWER on IntegriCloud