powerpc: MPC8641: Remove macro CONFIG_MPC8641

Replace CONFIG_MPC8641 with ARCH_MPC8641 in Kconfig and clean up
existing macros.

Signed-off-by: York Sun <york.sun@nxp.com>
This commit is contained in:
York Sun
2016-11-23 14:08:36 -08:00
parent 51f05ff914
commit 4f5554c6e5
9 changed files with 11 additions and 9 deletions

View File

@@ -10,6 +10,7 @@ choice
config TARGET_SBC8641D
bool "Support sbc8641d"
select ARCH_MPC8641
config TARGET_MPC8610HPCD
bool "Support MPC8610HPCD"
@@ -17,15 +18,20 @@ config TARGET_MPC8610HPCD
config TARGET_MPC8641HPCN
bool "Support MPC8641HPCN"
select ARCH_MPC8641
config TARGET_XPEDITE517X
bool "Support xpedite517x"
select ARCH_MPC8641
endchoice
config ARCH_MPC8610
bool
config ARCH_MPC8641
bool
source "board/freescale/mpc8610hpcd/Kconfig"
source "board/freescale/mpc8641hpcn/Kconfig"
source "board/sbc8641d/Kconfig"

View File

@@ -20,5 +20,5 @@ obj-$(CONFIG_OF_LIBFDT) += fdt.o
obj-y += interrupts.o
obj-$(CONFIG_MP) += mp.o
obj-$(CONFIG_ARCH_MPC8610) += mpc8610_serdes.o
obj-$(CONFIG_MPC8641) += mpc8641_serdes.o
obj-$(CONFIG_ARCH_MPC8641) += mpc8641_serdes.o
obj-y += speed.o

View File

@@ -92,7 +92,7 @@ checkcpu(void)
if (get_l2cr() & 0x80000000) {
#if defined(CONFIG_ARCH_MPC8610)
puts("256");
#elif defined(CONFIG_MPC8641)
#elif defined(CONFIG_ARCH_MPC8641)
puts("512");
#endif
puts(" KiB enabled\n");