From 3ae29b91942735ebd4e45b926f5ec4ecfb12015d Mon Sep 17 00:00:00 2001 From: Aurelien Jarno Date: Sat, 27 Jan 2024 14:48:45 +0100 Subject: [PATCH] [PATCH] configs: visionfive2: Disable ENV_IS_NOWHERE The VisionFive 2 board supports saving the u-boot environment settings are saved to on-board SPI flash. However the defconfig enables both ENV_IS_NOWHERE and ENV_IS_IN_SPI_FLASH, preventing the "saveenv" command to work. Fix that by disabling ENV_IS_NOWHERE. Fixes: 7d79bed00c9e ("configs: starfive: Enable environment in SPI flash support") Reported-by: E Shattow Signed-off-by: Aurelien Jarno Reviewed-by: Leo Yu-Chi Liang Gbp-Pq: Topic riscv64 Gbp-Pq: Name configs-visionfive2-Disable-ENV_IS_NOWHERE.patch --- configs/starfive_visionfive2_defconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/configs/starfive_visionfive2_defconfig b/configs/starfive_visionfive2_defconfig index 7b39a6335..00145b21f 100644 --- a/configs/starfive_visionfive2_defconfig +++ b/configs/starfive_visionfive2_defconfig @@ -77,7 +77,6 @@ CONFIG_CMD_TFTPPUT=y CONFIG_CMD_BOOTSTAGE=y CONFIG_OF_BOARD=y CONFIG_ENV_OVERWRITE=y -CONFIG_ENV_IS_NOWHERE=y CONFIG_ENV_IS_IN_SPI_FLASH=y CONFIG_ENV_SECT_SIZE_AUTO=y CONFIG_SYS_RELOC_GD_ENV_ADDR=y -- 2.30.2