diff options
author | Tom Rini <trini@konsulko.com> | 2022-03-24 17:18:05 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2022-04-01 10:28:47 -0400 |
commit | e4d741f8abc4a92426d3a826f99390c3abe02d61 (patch) | |
tree | 23d0e45ec2b8f0523f4e1190c4d0526be169137a /include/configs/integratorcp.h | |
parent | d4a2c400d16f1ba563b55fe4c72ebe6df7b32ff5 (diff) | |
download | u-boot-e4d741f8abc4a92426d3a826f99390c3abe02d61.zip u-boot-e4d741f8abc4a92426d3a826f99390c3abe02d61.tar.gz u-boot-e4d741f8abc4a92426d3a826f99390c3abe02d61.tar.bz2 |
Convert CONFIG_SYS_MONITOR_BASE to Kconfig
This converts the following to Kconfig:
CONFIG_SYS_MONITOR_BASE
Note that for how this is re-used on some PowePC platforms, we introduce
CONFIG_SPL_SYS_MONITOR_BASE and CONFIG_TPL_SYS_MONITOR_BASE and use the
CONFIG_VAL macro to get the correct value at build time, in the code.
Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'include/configs/integratorcp.h')
-rw-r--r-- | include/configs/integratorcp.h | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/include/configs/integratorcp.h b/include/configs/integratorcp.h index 467423d..288014c 100644 --- a/include/configs/integratorcp.h +++ b/include/configs/integratorcp.h @@ -37,26 +37,4 @@ #define CONFIG_SYS_MAX_FLASH_SECT 64 #define CONFIG_SYS_MONITOR_LEN 0x00100000 -/* - * Move up the U-Boot & monitor area if more flash is fitted. - * If this U-Boot is to be run on Integrators with varying flash sizes, - * drivers/mtd/cfi_flash.c::flash_init() can read the Integrator CP_FLASHPROG - * register and dynamically assign CONFIG_ENV_ADDR & CONFIG_SYS_MONITOR_BASE - * - CONFIG_SYS_MONITOR_BASE is set to indicate that the environment is not - * embedded in the boot monitor(s) area - */ -#if ( PHYS_FLASH_SIZE == 0x04000000 ) - -#define CONFIG_SYS_MONITOR_BASE 0x27F40000 - -#elif (PHYS_FLASH_SIZE == 0x02000000 ) - -#define CONFIG_SYS_MONITOR_BASE 0x25F40000 - -#else - -#define CONFIG_SYS_MONITOR_BASE 0x27F40000 - -#endif - #endif /* __CONFIG_H */ |