summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVipin Kumar <vipin.kumar@st.com>2012-05-07 13:06:56 +0530
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2012-07-07 14:07:42 +0200
commitcc4b5a34d294ba9fd8dad5a51bf84621310e685d (patch)
tree7b92f63f48604980a20c31489ec9928f3ad061d9
parent0296f1599227280c24f53175ff04cce1faa10373 (diff)
downloadu-boot-imx-cc4b5a34d294ba9fd8dad5a51bf84621310e685d.zip
u-boot-imx-cc4b5a34d294ba9fd8dad5a51bf84621310e685d.tar.gz
u-boot-imx-cc4b5a34d294ba9fd8dad5a51bf84621310e685d.tar.bz2
SPEAr: Enable CONFIG_SYS_FLASH_EMPTY_INFO macro
Enable CONFIG_SYS_FLASH_EMPTY_INFO macro to enable reporting of empty sector information through flinfo command. Signed-off-by: Vipin Kumar <vipin.kumar@st.com> Signed-off-by: Amit Virdi <amit.virdi@st.com> Acked-by: Stefan Roese <sr@denx.de> Signed-off-by: Stefan Roese <sr@denx.de>
-rw-r--r--include/configs/spear-common.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/configs/spear-common.h b/include/configs/spear-common.h
index 0443bc6..4f067eb 100644
--- a/include/configs/spear-common.h
+++ b/include/configs/spear-common.h
@@ -81,7 +81,6 @@
CONFIG_SYS_CS1_FLASH_BASE}
#define CONFIG_SYS_MAX_FLASH_SECT 128
-#define CONFIG_SYS_FLASH_EMPTY_INFO 1
#define CONFIG_SYS_FLASH_ERASE_TOUT (3 * CONFIG_SYS_HZ)
#define CONFIG_SYS_FLASH_WRITE_TOUT (3 * CONFIG_SYS_HZ)
@@ -230,6 +229,8 @@
#define CONFIG_SYS_LOAD_ADDR 0x00800000
#define CONFIG_SYS_CONSOLE_INFO_QUIET 1
+#define CONFIG_SYS_FLASH_EMPTY_INFO
+
/* Stack sizes */
#define CONFIG_STACKSIZE (128*1024)