From 8d8ee47e03ef23b0d0e842ea455a30bf0d2023b9 Mon Sep 17 00:00:00 2001 From: Tom Rini Date: Tue, 12 Nov 2019 22:46:36 -0500 Subject: env: Add CONFIG_SYS_RELOC_GD_ENV_ADDR symbol Today in initr_reloc_global_data() we use some non-obvious tests to determine if we need to relocate the env_addr within gd or not. In order to facilitate migration of other symbols to Kconfig we need to introduce a new symbol for this particular use case. Cc: Wolfgang Denk Cc: Joe Hershberger Signed-off-by: Tom Rini --- configs/MPC8313ERDB_NAND_66_defconfig | 1 + 1 file changed, 1 insertion(+) (limited to 'configs/MPC8313ERDB_NAND_66_defconfig') diff --git a/configs/MPC8313ERDB_NAND_66_defconfig b/configs/MPC8313ERDB_NAND_66_defconfig index 4e2ffab609..4c53104c68 100644 --- a/configs/MPC8313ERDB_NAND_66_defconfig +++ b/configs/MPC8313ERDB_NAND_66_defconfig @@ -150,6 +150,7 @@ CONFIG_MTDPARTS_DEFAULT="mtdparts=e2800000.flash:512k(uboot),128k(env),6m@1m(ker # CONFIG_ENV_IS_IN_FLASH is not set CONFIG_ENV_IS_IN_NAND=y CONFIG_SYS_REDUNDAND_ENVIRONMENT=y +CONFIG_SYS_RELOC_GD_ENV_ADDR=y # CONFIG_MMC is not set CONFIG_MTD_NOR_FLASH=y CONFIG_FLASH_CFI_DRIVER=y -- cgit v1.2.1