From: Vipin Kumar <[email protected]>

Enable CONFIG_SYS_FLASH_EMPTY_INFO macro to enable reporting of empty sector
information through flinfo command.

Signed-off-by: Vipin Kumar <[email protected]>
Signed-off-by: Amit Virdi <[email protected]>
Acked-by: Stefan Roese <[email protected]>
---
 include/configs/spear-common.h |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/include/configs/spear-common.h b/include/configs/spear-common.h
index def8daf..97c278f 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_CONSOLE_INFO_QUIET          1
 #define CONFIG_SYS_64BIT_VSPRINTF              1
 
+#define CONFIG_SYS_FLASH_EMPTY_INFO
+
 /* Stack sizes */
 #define CONFIG_STACKSIZE                       (128*1024)
 
-- 
1.7.2.2

_______________________________________________
U-Boot mailing list
[email protected]
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to