aboutsummaryrefslogtreecommitdiff
path: root/include/mpc85xx.h
diff options
context:
space:
mode:
authorTom Rini2022-05-21 11:26:27 -0400
committerTom Rini2022-06-06 12:09:12 -0400
commit6074a536d502f638b19507536b41213c5c119e46 (patch)
tree0f54b71c68c901983337797655b54128c3e10b23 /include/mpc85xx.h
parent66bda092cf2af51f2731991fe7d2d14de8aa32fa (diff)
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 'include/mpc85xx.h')
-rw-r--r--include/mpc85xx.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/mpc85xx.h b/include/mpc85xx.h
index 2c69a60de63..053b68a10a4 100644
--- a/include/mpc85xx.h
+++ b/include/mpc85xx.h
@@ -26,7 +26,7 @@
* Define default values for some CCSR macros to make header files cleaner*
*
* To completely disable CCSR relocation in a board header file, define
- * CONFIG_SYS_CCSR_DO_NOT_RELOCATE. This will force CONFIG_SYS_CCSRBAR_PHYS
+ * CONFIG_SPL_SYS_CCSR_DO_NOT_RELOCATE. This will force CONFIG_SYS_CCSRBAR_PHYS
* to a value that is the same as CONFIG_SYS_CCSRBAR.
*/
@@ -35,7 +35,7 @@
CONFIG_SYS_CCSRBAR_PHYS_LOW and/or CONFIG_SYS_CCSRBAR_PHYS_HIGH instead."
#endif
-#ifdef CONFIG_SYS_CCSR_DO_NOT_RELOCATE
+#if CONFIG_IS_ENABLED(SYS_CCSR_DO_NOT_RELOCATE)
#undef CONFIG_SYS_CCSRBAR_PHYS_HIGH
#undef CONFIG_SYS_CCSRBAR_PHYS_LOW
#define CONFIG_SYS_CCSRBAR_PHYS_HIGH 0