Patchwork [U-Boot,19/25] SPEAr: Enable CONFIG_SYS_FLASH_EMPTY_INFO macro

login
register
mail settings
Submitter Amit Virdi
Date March 7, 2012, 12:04 p.m.
Message ID <1331121854-20494-20-git-send-email-amit.virdi@st.com>
Download mbox | patch
Permalink /patch/145234/
State Superseded
Delegated to: Stefan Roese
Headers show

Comments

Amit Virdi - March 7, 2012, 12:04 p.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>
---
 include/configs/spear-common.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
Stefan Roese - March 7, 2012, 2:32 p.m.
On Wednesday 07 March 2012 13:04:08 Amit Virdi wrote:
> 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>
> ---
>  include/configs/spear-common.h |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/include/configs/spear-common.h
> b/include/configs/spear-common.h index 0998157..bde99d2 100644
> --- a/include/configs/spear-common.h
> +++ b/include/configs/spear-common.h
> @@ -80,7 +80,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)
> 
> @@ -238,6 +237,7 @@
>  #define CONFIG_SYS_CONSOLE_INFO_QUIET		1
>  #define CONFIG_SYS_64BIT_VSPRINTF		1
> 
> +#define CONFIG_SYS_FLASH_EMPTY_INFO		1

No 1 please.

Other than that:

Acked-by: Stefan Roese <sr@denx.de>

Thanks,
Stefan

--
DENX Software Engineering GmbH,      MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich,  Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-0 Fax: (+49)-8142-66989-80 Email: office@denx.de
Amit Virdi - March 27, 2012, 6:11 a.m.
Hi Stefan,
					
> 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)
>>
>> @@ -238,6 +237,7 @@
>>   #define CONFIG_SYS_CONSOLE_INFO_QUIET		1
>>   #define CONFIG_SYS_64BIT_VSPRINTF		1
>>
>> +#define CONFIG_SYS_FLASH_EMPTY_INFO		1
>
> No 1 please.
>
> Other than that:
>
> Acked-by: Stefan Roese<sr@denx.de>
>

Ok.

Thanks
Amit Virdi

Patch

diff --git a/include/configs/spear-common.h b/include/configs/spear-common.h
index 0998157..bde99d2 100644
--- a/include/configs/spear-common.h
+++ b/include/configs/spear-common.h
@@ -80,7 +80,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)
 
@@ -238,6 +237,7 @@ 
 #define CONFIG_SYS_CONSOLE_INFO_QUIET		1
 #define CONFIG_SYS_64BIT_VSPRINTF		1
 
+#define CONFIG_SYS_FLASH_EMPTY_INFO		1
 #define CONFIG_EXTRA_ENV_UNLOCK			"unlock=yes\0"
 #define CONFIG_EXTRA_ENV_SETTINGS		CONFIG_EXTRA_ENV_USBTTY	\
 						CONFIG_EXTRA_ENV_UNLOCK