diff options
author | Tom Rini <trini@konsulko.com> | 2022-05-21 11:26:27 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2022-06-06 12:09:12 -0400 |
commit | 6074a536d502f638b19507536b41213c5c119e46 (patch) | |
tree | 0f54b71c68c901983337797655b54128c3e10b23 /common | |
parent | 66bda092cf2af51f2731991fe7d2d14de8aa32fa (diff) | |
download | u-boot-6074a536d502f638b19507536b41213c5c119e46.tar.gz u-boot-6074a536d502f638b19507536b41213c5c119e46.tar.bz2 u-boot-6074a536d502f638b19507536b41213c5c119e46.zip |
ppc / layerscape: Clean up CONFIG_SYS_CCSR_DO_NOT_RELOCATE usage
A number of PowerPC platforms define this, for SPL. To move this to
Kconfig, it needs to be CONFIG_SPL_SYS_CCSR_DO_NOT_RELOCATE, so use
CONFIG_IS_ENABLED() to check for usage. A number of layerscape
platforms bring this logic from PowerPC, but only need a small part of
it, for the fman driver. Remove their unused portion at least.
Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'common')
-rw-r--r-- | common/spl/Kconfig | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/common/spl/Kconfig b/common/spl/Kconfig index 48af2a3d48..3cee3c323e 100644 --- a/common/spl/Kconfig +++ b/common/spl/Kconfig @@ -206,6 +206,17 @@ config SPL_FSL_PBL Create boot binary having SPL binary in PBI format concatenated with u-boot binary. +config SPL_SYS_CCSR_DO_NOT_RELOCATE + bool "Ensures that CCSR is not relocated" + depends on PPC + help + If this is defined, then CONFIG_SYS_CCSRBAR_PHYS will be forced to a + value that ensures that CCSR is not relocated. + +config TPL_SYS_CCSR_DO_NOT_RELOCATE + def_bool y + depends on SPL_SYS_CCSR_DO_NOT_RELOCATE + endmenu menu "PowerPC SPL specific options" |