Patchwork [U-Boot,V2,RESEND,18/24] SPEAr: Enable CONFIG_SYS_FLASH_EMPTY_INFO macro

login
register
mail settings
Submitter Amit Virdi
Date May 7, 2012, 7:36 a.m.
Message ID <17f04a4b4480413d647b1920eae5c2a4f2d35d66.1336376035.git.amit.virdi@st.com>
Download mbox | patch
Permalink /patch/157264/
State Accepted
Delegated to: Stefan Roese
Headers show

Comments

Amit Virdi - May 7, 2012, 7:36 a.m.
From: Vipin Kumar <vipin.kumar@st.com>

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>
---
 include/configs/spear-common.h |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

Patch

diff --git a/include/configs/spear-common.h b/include/configs/spear-common.h
index e2a5155..89fbb15 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)
 
@@ -231,6 +230,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)