]> git.baikalelectronics.ru Git - uboot.git/commitdiff
configs: evb-ast2500: Set environment in SPI flash
authorCédric Le Goater <clg@kaod.org>
Wed, 26 Oct 2022 13:11:15 +0000 (15:11 +0200)
committerTom Rini <trini@konsulko.com>
Wed, 2 Nov 2022 17:58:17 +0000 (13:58 -0400)
We now have a SPI flash driver. Let's use it.

Signed-off-by: Cédric Le Goater <clg@kaod.org>
Reviewed-by: Joel Stanley <joel@jms.id.au>
configs/evb-ast2500_defconfig

index 99c2f184c3275881c3c1012fc6e0226abca43604..92a3b49d3bfc6f8cdf6b20ccb4622ef573131503 100644 (file)
@@ -5,7 +5,9 @@ CONFIG_TEXT_BASE=0x0
 CONFIG_SYS_MALLOC_LEN=0x2000000
 CONFIG_TARGET_EVB_AST2500=y
 CONFIG_NR_DRAM_BANKS=1
-CONFIG_ENV_SIZE=0x20000
+CONFIG_ENV_SIZE=0x10000
+CONFIG_ENV_OFFSET=0x60000
+CONFIG_ENV_SECT_SIZE=0x1000
 CONFIG_DM_GPIO=y
 CONFIG_DEFAULT_DEVICE_TREE="ast2500-evb"
 CONFIG_PRE_CON_BUF_ADDR=0x1e720000
@@ -31,6 +33,7 @@ CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
 CONFIG_CMD_NCSI=y
 CONFIG_ENV_OVERWRITE=y
+CONFIG_ENV_IS_IN_SPI_FLASH=y
 CONFIG_SYS_RELOC_GD_ENV_ADDR=y
 CONFIG_NET_RANDOM_ETHADDR=y
 CONFIG_REGMAP=y