Re: [U-Boot] [PATCH 1/2] x86: crownbay: Enable saving environment in SPI flash

2015-03-25 Thread Simon Glass
On 12 March 2015 at 16:15, Simon Glass  wrote:
> On 11 March 2015 at 02:22, Bin Meng  wrote:
>> Saving U-Boot's environment in SPI flash on Intel CrownBay board.
>>
>> Signed-off-by: Bin Meng 
>> ---
>>
>>  include/configs/crownbay.h | 8 
>>  1 file changed, 8 insertions(+)
>>
>> diff --git a/include/configs/crownbay.h b/include/configs/crownbay.h
>> index b927b1c..4a74f82 100644
>> --- a/include/configs/crownbay.h
>> +++ b/include/configs/crownbay.h
>> @@ -56,4 +56,12 @@
>>  #undef CONFIG_VIDEO
>>  #undef CONFIG_CFB_CONSOLE
>>
>> +/* Environment configuration */
>> +#undef CONFIG_ENV_IS_NOWHERE
>> +#undef CONFIG_ENV_SIZE
>> +#define CONFIG_ENV_IS_IN_SPI_FLASH
>> +#define CONFIG_ENV_SIZE0x1000
>> +#define CONFIG_ENV_SECT_SIZE   0x1000
>> +#define CONFIG_ENV_OFFSET  0
>> +
>>  #endif /* __CONFIG_H */
>> --
>> 1.8.2.1
>>
>
> Acked-by: Simon Glass 

Applied to u-boot-x86, thanks!
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


Re: [U-Boot] [PATCH 1/2] x86: crownbay: Enable saving environment in SPI flash

2015-03-12 Thread Simon Glass
On 11 March 2015 at 02:22, Bin Meng  wrote:
> Saving U-Boot's environment in SPI flash on Intel CrownBay board.
>
> Signed-off-by: Bin Meng 
> ---
>
>  include/configs/crownbay.h | 8 
>  1 file changed, 8 insertions(+)
>
> diff --git a/include/configs/crownbay.h b/include/configs/crownbay.h
> index b927b1c..4a74f82 100644
> --- a/include/configs/crownbay.h
> +++ b/include/configs/crownbay.h
> @@ -56,4 +56,12 @@
>  #undef CONFIG_VIDEO
>  #undef CONFIG_CFB_CONSOLE
>
> +/* Environment configuration */
> +#undef CONFIG_ENV_IS_NOWHERE
> +#undef CONFIG_ENV_SIZE
> +#define CONFIG_ENV_IS_IN_SPI_FLASH
> +#define CONFIG_ENV_SIZE0x1000
> +#define CONFIG_ENV_SECT_SIZE   0x1000
> +#define CONFIG_ENV_OFFSET  0
> +
>  #endif /* __CONFIG_H */
> --
> 1.8.2.1
>

Acked-by: Simon Glass 
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


[U-Boot] [PATCH 1/2] x86: crownbay: Enable saving environment in SPI flash

2015-03-11 Thread Bin Meng
Saving U-Boot's environment in SPI flash on Intel CrownBay board.

Signed-off-by: Bin Meng 
---

 include/configs/crownbay.h | 8 
 1 file changed, 8 insertions(+)

diff --git a/include/configs/crownbay.h b/include/configs/crownbay.h
index b927b1c..4a74f82 100644
--- a/include/configs/crownbay.h
+++ b/include/configs/crownbay.h
@@ -56,4 +56,12 @@
 #undef CONFIG_VIDEO
 #undef CONFIG_CFB_CONSOLE
 
+/* Environment configuration */
+#undef CONFIG_ENV_IS_NOWHERE
+#undef CONFIG_ENV_SIZE
+#define CONFIG_ENV_IS_IN_SPI_FLASH
+#define CONFIG_ENV_SIZE0x1000
+#define CONFIG_ENV_SECT_SIZE   0x1000
+#define CONFIG_ENV_OFFSET  0
+
 #endif /* __CONFIG_H */
-- 
1.8.2.1

___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot