From 4a1e6810a2c0e7879583cf4cca53476219dc5203 Mon Sep 17 00:00:00 2001 From: York Sun Date: Thu, 1 Dec 2016 13:32:46 -0800 Subject: powerpc: mpc86xx: Convert CONFIG_SYS_CCSRBAR_DEFAULT to Kconfig option Move default value definitions to Kconfig SYS_CCSRBAR_DEFAULT. Signed-off-by: York Sun --- arch/powerpc/cpu/mpc86xx/Kconfig | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'arch/powerpc/cpu/mpc86xx/Kconfig') diff --git a/arch/powerpc/cpu/mpc86xx/Kconfig b/arch/powerpc/cpu/mpc86xx/Kconfig index 98fb702e86..57e7476ca7 100644 --- a/arch/powerpc/cpu/mpc86xx/Kconfig +++ b/arch/powerpc/cpu/mpc86xx/Kconfig @@ -32,6 +32,15 @@ config ARCH_MPC8610 config ARCH_MPC8641 bool +config SYS_CCSRBAR_DEFAULT + hex "Default CCSRBAR address" + default 0xff700000 if ARCH_MPC8610 || ARCH_MPC8641 + help + Default value of CCSRBAR comes from power-on-reset. It + is fixed on each SoC. Some SoCs can have different value + if changed by pre-boot regime. The value here must match + the current value in SoC. If not sure, do not change. + source "board/freescale/mpc8610hpcd/Kconfig" source "board/freescale/mpc8641hpcn/Kconfig" source "board/sbc8641d/Kconfig" -- cgit