summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2022-12-04 10:03:47 -0500
committerTom Rini <trini@konsulko.com>2022-12-23 10:08:35 -0500
commitef2e1745da9151083c197d6077d0a14498eec13b (patch)
tree822826ced2fabc4f75531504ae0b16e29a7f8787
parent3673a47b55c67359dc883bdf7be372d32ae6dbe6 (diff)
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 <trini@konsulko.com>
-rw-r--r--board/keymile/kmcent2/kmcent2.env6
-rw-r--r--include/configs/kmcent2.h2
2 files changed, 4 insertions, 4 deletions
diff --git a/board/keymile/kmcent2/kmcent2.env b/board/keymile/kmcent2/kmcent2.env
index 7c8f8306c54..6b676a4ceb8 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 80bff4b8937..a4b6a6e555d 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*/
/*