summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorThomas Chou <thomas@wytron.com.tw>2015-10-28 15:10:39 +0800
committerThomas Chou <thomas@wytron.com.tw>2015-11-12 08:26:58 +0800
commitaf54c18d4c682aafc6b63e3bb4714a0bdcf72121 (patch)
tree64e9ced400ead541b678ca5dbcbda735340544dc /include
parentf1056910434d87051ff8af80a84e248dd1670abb (diff)
downloadblackbird-obmc-uboot-af54c18d4c682aafc6b63e3bb4714a0bdcf72121.tar.gz
blackbird-obmc-uboot-af54c18d4c682aafc6b63e3bb4714a0bdcf72121.zip
nios2: use cfi flash driver model
Use cfi flash driver model. Signed-off-by: Thomas Chou <thomas@wytron.com.tw>
Diffstat (limited to 'include')
-rw-r--r--include/configs/nios2-generic.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/configs/nios2-generic.h b/include/configs/nios2-generic.h
index dbd39d6a58..4569de8a96 100644
--- a/include/configs/nios2-generic.h
+++ b/include/configs/nios2-generic.h
@@ -24,13 +24,12 @@
/*
* CFI Flash
*/
-#define CONFIG_SYS_FLASH_BASE 0xe0000000
#define CONFIG_FLASH_CFI_DRIVER
#define CONFIG_SYS_CFI_FLASH_STATUS_POLL /* fix amd flash issue */
#define CONFIG_SYS_FLASH_CFI
#define CONFIG_SYS_FLASH_USE_BUFFER_WRITE
#define CONFIG_SYS_FLASH_PROTECTION
-#define CONFIG_SYS_MAX_FLASH_BANKS 1
+#define CONFIG_SYS_MAX_FLASH_BANKS_DETECT 1
#define CONFIG_SYS_MAX_FLASH_SECT 512
/*
OpenPOWER on IntegriCloud