* [PATCH] configs: evb-ast2600: Enable configs to store env in SPI
@ 2023-02-10 7:41 Ryan Chen
2023-02-17 6:23 ` ChiaWei Wang
2023-03-07 17:52 ` Tom Rini
0 siblings, 2 replies; 3+ messages in thread
From: Ryan Chen @ 2023-02-10 7:41 UTC (permalink / raw)
To: chiawei_wang, u-boot, Ryan Chen
Enable defconfigs relevant for storing env on SPI flash.
Signed-off-by: Ryan Chen <ryan_chen@aspeedtech.com>
---
configs/evb-ast2600_defconfig | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/configs/evb-ast2600_defconfig b/configs/evb-ast2600_defconfig
index 3440062156..7c09e846ac 100644
--- a/configs/evb-ast2600_defconfig
+++ b/configs/evb-ast2600_defconfig
@@ -13,6 +13,8 @@ CONFIG_SPL_LIBGENERIC_SUPPORT=y
CONFIG_NR_DRAM_BANKS=1
CONFIG_SPL_LDSCRIPT="arch/arm/mach-aspeed/ast2600/u-boot-spl.lds"
CONFIG_ENV_SIZE=0x10000
+CONFIG_ENV_OFFSET=0xe0000
+CONFIG_ENV_SECT_SIZE=0x10000
CONFIG_DM_GPIO=y
CONFIG_DEFAULT_DEVICE_TREE="ast2600-evb"
CONFIG_SPL_SERIAL=y
@@ -74,6 +76,8 @@ CONFIG_EFI_PARTITION=y
# CONFIG_SPL_EFI_PARTITION is not set
CONFIG_SPL_OF_CONTROL=y
CONFIG_ENV_OVERWRITE=y
+CONFIG_ENV_IS_IN_SPI_FLASH=y
+CONFIG_ENV_SECT_SIZE_AUTO=y
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
CONFIG_NET_RANDOM_ETHADDR=y
CONFIG_SPL_DM=y
--
2.34.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* RE: [PATCH] configs: evb-ast2600: Enable configs to store env in SPI
2023-02-10 7:41 [PATCH] configs: evb-ast2600: Enable configs to store env in SPI Ryan Chen
@ 2023-02-17 6:23 ` ChiaWei Wang
2023-03-07 17:52 ` Tom Rini
1 sibling, 0 replies; 3+ messages in thread
From: ChiaWei Wang @ 2023-02-17 6:23 UTC (permalink / raw)
To: Ryan Chen, u-boot@lists.denx.de
Reviewed-by: Chia-Wei Wang <chiawei_wang@aspeedtech.com>
Thanks.
> From: Ryan Chen <ryan_chen@aspeedtech.com>
> Sent: Friday, February 10, 2023 3:42 PM
>
> Enable defconfigs relevant for storing env on SPI flash.
>
> Signed-off-by: Ryan Chen <ryan_chen@aspeedtech.com>
> ---
> configs/evb-ast2600_defconfig | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/configs/evb-ast2600_defconfig b/configs/evb-ast2600_defconfig
> index 3440062156..7c09e846ac 100644
> --- a/configs/evb-ast2600_defconfig
> +++ b/configs/evb-ast2600_defconfig
> @@ -13,6 +13,8 @@ CONFIG_SPL_LIBGENERIC_SUPPORT=y
> CONFIG_NR_DRAM_BANKS=1
> CONFIG_SPL_LDSCRIPT="arch/arm/mach-aspeed/ast2600/u-boot-spl.lds"
> CONFIG_ENV_SIZE=0x10000
> +CONFIG_ENV_OFFSET=0xe0000
> +CONFIG_ENV_SECT_SIZE=0x10000
> CONFIG_DM_GPIO=y
> CONFIG_DEFAULT_DEVICE_TREE="ast2600-evb"
> CONFIG_SPL_SERIAL=y
> @@ -74,6 +76,8 @@ CONFIG_EFI_PARTITION=y #
> CONFIG_SPL_EFI_PARTITION is not set CONFIG_SPL_OF_CONTROL=y
> CONFIG_ENV_OVERWRITE=y
> +CONFIG_ENV_IS_IN_SPI_FLASH=y
> +CONFIG_ENV_SECT_SIZE_AUTO=y
> CONFIG_SYS_RELOC_GD_ENV_ADDR=y
> CONFIG_NET_RANDOM_ETHADDR=y
> CONFIG_SPL_DM=y
> --
> 2.34.1
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] configs: evb-ast2600: Enable configs to store env in SPI
2023-02-10 7:41 [PATCH] configs: evb-ast2600: Enable configs to store env in SPI Ryan Chen
2023-02-17 6:23 ` ChiaWei Wang
@ 2023-03-07 17:52 ` Tom Rini
1 sibling, 0 replies; 3+ messages in thread
From: Tom Rini @ 2023-03-07 17:52 UTC (permalink / raw)
To: Ryan Chen; +Cc: chiawei_wang, u-boot
[-- Attachment #1: Type: text/plain, Size: 288 bytes --]
On Fri, Feb 10, 2023 at 03:41:53PM +0800, Ryan Chen wrote:
> Enable defconfigs relevant for storing env on SPI flash.
>
> Signed-off-by: Ryan Chen <ryan_chen@aspeedtech.com>
> Reviewed-by: Chia-Wei Wang <chiawei_wang@aspeedtech.com>
Applied to u-boot/next, thanks!
--
Tom
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 659 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2023-03-07 17:53 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-02-10 7:41 [PATCH] configs: evb-ast2600: Enable configs to store env in SPI Ryan Chen
2023-02-17 6:23 ` ChiaWei Wang
2023-03-07 17:52 ` Tom Rini
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox