summaryrefslogtreecommitdiff
path: root/arch/powerpc/cpu/mpc85xx/t2080_serdes.c
diff options
context:
space:
mode:
authorYork Sun <york.sun@nxp.com>2016-11-21 12:54:19 -0800
committerYork Sun <york.sun@nxp.com>2016-11-23 23:42:15 -0800
commit0f3d80e99370d5896525eef79c2b88d9c87a66ae (patch)
tree7aab60e9d4e7b3ef5317195137aedb012f19e11d /arch/powerpc/cpu/mpc85xx/t2080_serdes.c
parent01671e668bddf98f7f831605114703daf739a44f (diff)
downloadu-boot-0f3d80e99370d5896525eef79c2b88d9c87a66ae.tar.gz
u-boot-0f3d80e99370d5896525eef79c2b88d9c87a66ae.tar.bz2
u-boot-0f3d80e99370d5896525eef79c2b88d9c87a66ae.zip
powerpc: T2080, T2081: Remove macro CONFIG_PPC_T2080 and CONFIG_PPC_T2081
Use CONFIG_ARCH_T2080 and CONFIG_ARCH_T2081 instead. Signed-off-by: York Sun <york.sun@nxp.com>
Diffstat (limited to 'arch/powerpc/cpu/mpc85xx/t2080_serdes.c')
-rw-r--r--arch/powerpc/cpu/mpc85xx/t2080_serdes.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/powerpc/cpu/mpc85xx/t2080_serdes.c b/arch/powerpc/cpu/mpc85xx/t2080_serdes.c
index c65f41d0f8..fc63fe3613 100644
--- a/arch/powerpc/cpu/mpc85xx/t2080_serdes.c
+++ b/arch/powerpc/cpu/mpc85xx/t2080_serdes.c
@@ -161,7 +161,7 @@ static const struct serdes_config serdes1_cfg_tbl[] = {
{}
};
-#ifndef CONFIG_PPC_T2081
+#ifndef CONFIG_ARCH_T2081
static const struct serdes_config serdes2_cfg_tbl[] = {
/* SerDes 2 */
{0x1F, {PCIE1, PCIE1, PCIE1, PCIE1, PCIE2, PCIE2, PCIE2, PCIE2} },
@@ -181,7 +181,7 @@ static const struct serdes_config serdes2_cfg_tbl[] = {
static const struct serdes_config *serdes_cfg_tbl[] = {
serdes1_cfg_tbl,
-#ifndef CONFIG_PPC_T2081
+#ifndef CONFIG_ARCH_T2081
serdes2_cfg_tbl,
#endif
};