[PATCH 19/25] powerpc: mpc83xx: Migrate DEFAULT_IMMR to Kconfig
Tom Rini
trini at konsulko.com
Thu Mar 31 00:07:29 CEST 2022
As no platforms override this value, set it for all mpc83xx platforms.
Cc: Mario Six <mario.six at gdsys.cc>
Cc: Wolfgang Denk <wd at denx.de>
Signed-off-by: Tom Rini <trini at konsulko.com>
---
arch/powerpc/cpu/mpc83xx/Kconfig | 4 ++++
include/mpc83xx.h | 4 ----
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/arch/powerpc/cpu/mpc83xx/Kconfig b/arch/powerpc/cpu/mpc83xx/Kconfig
index 2ebf8fc221d6..d1b9ae4c3c92 100644
--- a/arch/powerpc/cpu/mpc83xx/Kconfig
+++ b/arch/powerpc/cpu/mpc83xx/Kconfig
@@ -1,6 +1,10 @@
menu "mpc83xx CPU"
depends on MPC83xx
+config DEFAULT_IMMR
+ hex
+ default 0xFF400000
+
config E300
def_bool y
diff --git a/include/mpc83xx.h b/include/mpc83xx.h
index 0275b3184ea3..2181a90b59cf 100644
--- a/include/mpc83xx.h
+++ b/include/mpc83xx.h
@@ -21,10 +21,6 @@
/*
* IMMRBAR - Internal Memory Register Base Address
*/
-#ifndef CONFIG_DEFAULT_IMMR
-/* Default IMMR base address */
-#define CONFIG_DEFAULT_IMMR 0xFF400000
-#endif
/* Register offset to immr */
#define IMMRBAR 0x0000
#define IMMRBAR_BASE_ADDR 0xFFF00000 /* Base addr. mask */
--
2.25.1
More information about the U-Boot
mailing list