summaryrefslogtreecommitdiff
path: root/board/freescale/corenet_ds/corenet_ds.c
diff options
context:
space:
mode:
authorYork Sun <york.sun@nxp.com>2016-11-18 11:32:46 -0800
committerYork Sun <york.sun@nxp.com>2016-11-23 23:42:11 -0800
commit3b83649d53896cf115788130799d9ff585867e4a (patch)
tree342099b0b555912698e3a175560f42a37349571c /board/freescale/corenet_ds/corenet_ds.c
parentcefe11cdb2a0d1fe0daf90408d3c49e627ef39a7 (diff)
downloadu-boot-imx-3b83649d53896cf115788130799d9ff585867e4a.zip
u-boot-imx-3b83649d53896cf115788130799d9ff585867e4a.tar.gz
u-boot-imx-3b83649d53896cf115788130799d9ff585867e4a.tar.bz2
powerpc: P5020DS: Remove macro CONFIG_P5020DS
Use CONFIG_TARGET_P5020DS instead. Signed-off-by: York Sun <york.sun@nxp.com>
Diffstat (limited to 'board/freescale/corenet_ds/corenet_ds.c')
-rw-r--r--board/freescale/corenet_ds/corenet_ds.c6
1 files changed, 3 insertions, 3 deletions
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++) {