SPEAr: Enable CONFIG_SYS_FLASH_EMPTY_INFO macro
authorVipin Kumar <vipin.kumar@st.com>
Mon, 7 May 2012 07:36:56 +0000 (13:06 +0530)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Sat, 7 Jul 2012 12:07:42 +0000 (14:07 +0200)
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>
include/configs/spear-common.h

index 0443bc6ebd2332a786436806c6914c37497552ae..4f067ebf4d28eab801f8a3c78cf8ea4b819149a0 100644 (file)
@@ -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)
 
 #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)