From ef2e1745da9151083c197d6077d0a14498eec13b Mon Sep 17 00:00:00 2001 From: Tom Rini Date: Sun, 4 Dec 2022 10:03:47 -0500 Subject: [PATCH] global: Migrate CONFIG_ENV_TOTAL_SIZE to CFG Perform a simple rename of CONFIG_ENV_TOTAL_SIZE to CFG_ENV_TOTAL_SIZE Signed-off-by: Tom Rini --- board/keymile/kmcent2/kmcent2.env | 6 +++--- include/configs/kmcent2.h | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/board/keymile/kmcent2/kmcent2.env b/board/keymile/kmcent2/kmcent2.env index 7c8f8306c5..6b676a4ceb 100644 --- a/board/keymile/kmcent2/kmcent2.env +++ b/board/keymile/kmcent2/kmcent2.env @@ -10,9 +10,9 @@ hostname=kmcent2 hwconfig=fsl_ddr:ctlr_intlv=cacheline netdev=eth2 -newenv=protect off ENV_DEL_ADDR +CONFIG_ENV_TOTAL_SIZE && - erase ENV_DEL_ADDR +CONFIG_ENV_TOTAL_SIZE && - protect on ENV_DEL_ADDR +CONFIG_ENV_TOTAL_SIZE +newenv=protect off ENV_DEL_ADDR +CFG_ENV_TOTAL_SIZE && + erase ENV_DEL_ADDR +CFG_ENV_TOTAL_SIZE && + protect on ENV_DEL_ADDR +CFG_ENV_TOTAL_SIZE set_fdthigh=true uimage=uImage diff --git a/include/configs/kmcent2.h b/include/configs/kmcent2.h index 80bff4b893..a4b6a6e555 100644 --- a/include/configs/kmcent2.h +++ b/include/configs/kmcent2.h @@ -127,7 +127,7 @@ #define CFG_SYS_NUM_CPC CONFIG_SYS_NUM_DDR_CTLRS /* Environment in parallel NOR-Flash */ -#define CONFIG_ENV_TOTAL_SIZE 0x040000 +#define CFG_ENV_TOTAL_SIZE 0x040000 #define ENV_DEL_ADDR 0xebf00000 /*direct for newenv*/ /*