summaryrefslogtreecommitdiff
path: root/board/freescale/t208xqds/t208xqds.c
diff options
context:
space:
mode:
authorYork Sun <york.sun@nxp.com>2016-12-28 08:43:36 -0800
committerTom Rini <trini@konsulko.com>2017-01-04 19:40:26 -0500
commit80d261881f93ee474d1c9188b5c2b5b42b0c4e6f (patch)
tree617ef45ddde25aeea93d7e76febb76ef65cbb55d /board/freescale/t208xqds/t208xqds.c
parentf4f6694060d38c3a386bc0b876abc1676cb87f33 (diff)
downloadu-boot-imx-80d261881f93ee474d1c9188b5c2b5b42b0c4e6f.zip
u-boot-imx-80d261881f93ee474d1c9188b5c2b5b42b0c4e6f.tar.gz
u-boot-imx-80d261881f93ee474d1c9188b5c2b5b42b0c4e6f.tar.bz2
powerpc: T2080QDS: Remove macro T2080QDS
Use TARGET_T2080QDS from Kconfig instead. Signed-off-by: York Sun <york.sun@nxp.com>
Diffstat (limited to 'board/freescale/t208xqds/t208xqds.c')
-rw-r--r--board/freescale/t208xqds/t208xqds.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/board/freescale/t208xqds/t208xqds.c b/board/freescale/t208xqds/t208xqds.c
index d016329..e307ccb 100644
--- a/board/freescale/t208xqds/t208xqds.c
+++ b/board/freescale/t208xqds/t208xqds.c
@@ -99,7 +99,7 @@ int brd_mux_lane_to_slot(void)
srds_prtcl_s1 = in_be32(&gur->rcwsr[4]) &
FSL_CORENET2_RCWSR4_SRDS1_PRTCL;
srds_prtcl_s1 >>= FSL_CORENET2_RCWSR4_SRDS1_PRTCL_SHIFT;
-#if defined(CONFIG_T2080QDS)
+#if defined(CONFIG_TARGET_T2080QDS)
u32 srds_prtcl_s2 = in_be32(&gur->rcwsr[4]) &
FSL_CORENET2_RCWSR4_SRDS2_PRTCL;
srds_prtcl_s2 >>= FSL_CORENET2_RCWSR4_SRDS2_PRTCL_SHIFT;
@@ -109,7 +109,7 @@ int brd_mux_lane_to_slot(void)
case 0:
/* SerDes1 is not enabled */
break;
-#if defined(CONFIG_T2080QDS)
+#if defined(CONFIG_TARGET_T2080QDS)
case 0x1b:
case 0x1c:
case 0xa2:
@@ -268,7 +268,7 @@ int brd_mux_lane_to_slot(void)
return -1;
}
-#ifdef CONFIG_T2080QDS
+#ifdef CONFIG_TARGET_T2080QDS
switch (srds_prtcl_s2) {
case 0:
/* SerDes2 is not enabled */