From 3b83649d53896cf115788130799d9ff585867e4a Mon Sep 17 00:00:00 2001 From: York Sun Date: Fri, 18 Nov 2016 11:32:46 -0800 Subject: powerpc: P5020DS: Remove macro CONFIG_P5020DS Use CONFIG_TARGET_P5020DS instead. Signed-off-by: York Sun --- board/freescale/corenet_ds/Makefile | 4 ++-- board/freescale/corenet_ds/corenet_ds.c | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'board/freescale/corenet_ds') diff --git a/board/freescale/corenet_ds/Makefile b/board/freescale/corenet_ds/Makefile index f5db922..6bd54c0 100644 --- a/board/freescale/corenet_ds/Makefile +++ b/board/freescale/corenet_ds/Makefile @@ -10,9 +10,9 @@ obj-y += corenet_ds.o obj-y += ddr.o obj-$(CONFIG_TARGET_P3041DS) += eth_hydra.o obj-$(CONFIG_TARGET_P4080DS) += eth_p4080.o -obj-$(CONFIG_P5020DS) += eth_hydra.o +obj-$(CONFIG_TARGET_P5020DS) += eth_hydra.o obj-$(CONFIG_P5040DS) += eth_superhydra.o obj-$(CONFIG_TARGET_P3041DS) += p3041ds_ddr.o obj-$(CONFIG_TARGET_P4080DS) += p4080ds_ddr.o -obj-$(CONFIG_P5020DS) += p5020ds_ddr.o +obj-$(CONFIG_TARGET_P5020DS) += p5020ds_ddr.o obj-$(CONFIG_P5040DS) += p5040ds_ddr.o diff --git a/board/freescale/corenet_ds/corenet_ds.c b/board/freescale/corenet_ds/corenet_ds.c index 632b37b..cc33d5c 100644 --- a/board/freescale/corenet_ds/corenet_ds.c +++ b/board/freescale/corenet_ds/corenet_ds.c @@ -26,7 +26,7 @@ int checkboard (void) { u8 sw; struct cpu_type *cpu = gd->arch.cpu; -#if defined(CONFIG_TARGET_P3041DS) || defined(CONFIG_P5020DS) || \ +#if defined(CONFIG_TARGET_P3041DS) || defined(CONFIG_TARGET_P5020DS) || \ defined(CONFIG_P5040DS) unsigned int i; #endif @@ -56,7 +56,7 @@ int checkboard (void) * don't match. */ puts("SERDES Reference Clocks: "); -#if defined(CONFIG_TARGET_P3041DS) || defined(CONFIG_P5020DS) \ +#if defined(CONFIG_TARGET_P3041DS) || defined(CONFIG_TARGET_P5020DS) \ || defined(CONFIG_P5040DS) sw = in_8(&PIXIS_SW(5)); for (i = 0; i < 3; i++) { @@ -136,7 +136,7 @@ int misc_init_r(void) unsigned int i; u8 sw; -#if defined(CONFIG_TARGET_P3041DS) || defined(CONFIG_P5020DS) \ +#if defined(CONFIG_TARGET_P3041DS) || defined(CONFIG_TARGET_P5020DS) \ || defined(CONFIG_P5040DS) sw = in_8(&PIXIS_SW(5)); for (i = 0; i < 3; i++) { -- cgit v1.1