diff options
author | York Sun <york.sun@nxp.com> | 2016-11-16 13:08:52 -0800 |
---|---|---|
committer | York Sun <york.sun@nxp.com> | 2016-11-23 23:42:07 -0800 |
commit | 7d5f9f84f1767c5f9669d9db7fbbb825623b67a3 (patch) | |
tree | 03d0f344a65392c770f0fc133277be61d8388507 /arch/powerpc/cpu | |
parent | 164b2f812bd0a095f378961f04bc98e2735a376d (diff) | |
download | u-boot-imx-7d5f9f84f1767c5f9669d9db7fbbb825623b67a3.zip u-boot-imx-7d5f9f84f1767c5f9669d9db7fbbb825623b67a3.tar.gz u-boot-imx-7d5f9f84f1767c5f9669d9db7fbbb825623b67a3.tar.bz2 |
powerpc: P1010: Remove macro CONFIG_P1010
Replace CONFIG_P1010 with ARCH_P1010 in Kconfig and clean up existing
macros.
Signed-off-by: York Sun <york.sun@nxp.com>
Diffstat (limited to 'arch/powerpc/cpu')
-rw-r--r-- | arch/powerpc/cpu/mpc85xx/Kconfig | 4 | ||||
-rw-r--r-- | arch/powerpc/cpu/mpc85xx/Makefile | 2 | ||||
-rw-r--r-- | arch/powerpc/cpu/mpc85xx/speed.c | 2 |
3 files changed, 6 insertions, 2 deletions
diff --git a/arch/powerpc/cpu/mpc85xx/Kconfig b/arch/powerpc/cpu/mpc85xx/Kconfig index f4d9f9d..9b6dd34 100644 --- a/arch/powerpc/cpu/mpc85xx/Kconfig +++ b/arch/powerpc/cpu/mpc85xx/Kconfig @@ -96,6 +96,7 @@ config TARGET_MPC8572DS config TARGET_P1010RDB bool "Support P1010RDB" + select ARCH_P1010 select SUPPORT_SPL select SUPPORT_TPL @@ -228,6 +229,9 @@ config ARCH_MPC8569 config ARCH_MPC8572 bool +config ARCH_P1010 + bool + source "board/freescale/b4860qds/Kconfig" source "board/freescale/bsc9131rdb/Kconfig" source "board/freescale/bsc9132qds/Kconfig" diff --git a/arch/powerpc/cpu/mpc85xx/Makefile b/arch/powerpc/cpu/mpc85xx/Makefile index e3f7dc8..de42b65 100644 --- a/arch/powerpc/cpu/mpc85xx/Makefile +++ b/arch/powerpc/cpu/mpc85xx/Makefile @@ -72,7 +72,7 @@ obj-$(CONFIG_ARCH_MPC8548) += mpc8548_serdes.o obj-$(CONFIG_ARCH_MPC8568) += mpc8568_serdes.o obj-$(CONFIG_ARCH_MPC8569) += mpc8569_serdes.o obj-$(CONFIG_ARCH_MPC8572) += mpc8572_serdes.o -obj-$(CONFIG_P1010) += p1010_serdes.o +obj-$(CONFIG_ARCH_P1010) += p1010_serdes.o obj-$(CONFIG_P1011) += p1021_serdes.o obj-$(CONFIG_P1012) += p1021_serdes.o obj-$(CONFIG_P1013) += p1022_serdes.o diff --git a/arch/powerpc/cpu/mpc85xx/speed.c b/arch/powerpc/cpu/mpc85xx/speed.c index 3ac3580..c20bc9d 100644 --- a/arch/powerpc/cpu/mpc85xx/speed.c +++ b/arch/powerpc/cpu/mpc85xx/speed.c @@ -707,7 +707,7 @@ int get_clocks (void) #ifdef CONFIG_FSL_ESDHC_USE_PERIPHERAL_CLK gd->arch.sdhc_clk = sys_info.freq_sdhc / 2; #else -#if defined(CONFIG_ARCH_MPC8569) || defined(CONFIG_P1010) ||\ +#if defined(CONFIG_ARCH_MPC8569) || defined(CONFIG_ARCH_P1010) ||\ defined(CONFIG_P1014) gd->arch.sdhc_clk = gd->bus_clk; #else |