summaryrefslogtreecommitdiff
path: root/board/freescale/p1010rdb/spl.c
diff options
context:
space:
mode:
authorYork Sun <york.sun@nxp.com>2016-11-16 13:30:06 -0800
committerYork Sun <york.sun@nxp.com>2016-11-23 23:42:07 -0800
commit7601686c6039cde149086986dd2bc7e8e83b6b07 (patch)
treeac19fb7d20d6e668eacbe399c39b6d6c60438e59 /board/freescale/p1010rdb/spl.c
parent7d5f9f84f1767c5f9669d9db7fbbb825623b67a3 (diff)
powerpc: P1010RDB: Remove macros CONFIG_P1010RDB_PA and CONFIG_P1010RDB_PB
Remove CONFIG_P1010RDB_PA and CONFIG_P1010RDB_PB and split TARGET_P1010RDB to TARGET_P1010RDB_PA and TARGET_P1010RDB_PB in Kconfig. Signed-off-by: York Sun <york.sun@nxp.com>
Diffstat (limited to 'board/freescale/p1010rdb/spl.c')
-rw-r--r--board/freescale/p1010rdb/spl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/freescale/p1010rdb/spl.c b/board/freescale/p1010rdb/spl.c
index 9844194eb5..c22e215675 100644
--- a/board/freescale/p1010rdb/spl.c
+++ b/board/freescale/p1010rdb/spl.c
@@ -32,7 +32,7 @@ void board_init_f(ulong bootflag)
/* Clock configuration to access CPLD using IFC(GPCM) */
setbits_be32(&ifc.gregs->ifc_gcr, 1 << IFC_GCR_TBCTL_TRN_TIME_SHIFT);
-#ifdef CONFIG_P1010RDB_PB
+#ifdef CONFIG_TARGET_P1010RDB_PB
setbits_be32(&gur->pmuxcr2, MPC85xx_PMUXCR2_GPIO01_DRVVBUS);
#endif