summaryrefslogtreecommitdiff
path: root/include/configs/P1010RDB.h
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2022-06-13 22:57:33 -0400
committerTom Rini <trini@konsulko.com>2022-06-28 17:11:48 -0400
commit5d7dea14007bc41b8984a7881bf1686d7030f644 (patch)
treed76198cbf506256b278cd77778b6353cb8019387 /include/configs/P1010RDB.h
parent5c3f6a320678d64c9fa0c42755488822a033b567 (diff)
downloadu-boot-5d7dea14007bc41b8984a7881bf1686d7030f644.tar.gz
u-boot-5d7dea14007bc41b8984a7881bf1686d7030f644.tar.bz2
u-boot-5d7dea14007bc41b8984a7881bf1686d7030f644.zip
Convert CONFIG_ENV_RANGE to Kconfig
This converts the following to Kconfig: CONFIG_ENV_RANGE Now that this is in Kconfig we can enforce a minimum size and so remove the check in C code to ensure range is larger than size. Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'include/configs/P1010RDB.h')
-rw-r--r--include/configs/P1010RDB.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/include/configs/P1010RDB.h b/include/configs/P1010RDB.h
index 27361f2d44..ad78dba865 100644
--- a/include/configs/P1010RDB.h
+++ b/include/configs/P1010RDB.h
@@ -477,12 +477,6 @@ extern unsigned long get_sdram_size(void);
#elif defined(CONFIG_MTD_RAW_NAND)
#ifdef CONFIG_TPL_BUILD
#define SPL_ENV_ADDR (CONFIG_SYS_INIT_L2_ADDR + (160 << 10))
-#else
-#if defined(CONFIG_TARGET_P1010RDB_PA)
-#define CONFIG_ENV_RANGE (3 * CONFIG_ENV_SIZE) /* 3*16=48K for env */
-#elif defined(CONFIG_TARGET_P1010RDB_PB)
-#define CONFIG_ENV_RANGE (32 * CONFIG_ENV_SIZE) /* new block size 512K */
-#endif
#endif
#endif