summaryrefslogtreecommitdiff
path: root/board/varisys/cyrus/eth.c
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2016-11-29 19:42:48 -0500
committerTom Rini <trini@konsulko.com>2016-11-29 19:42:48 -0500
commit6b29a395b62965eef6b5065d3a526a8588a92038 (patch)
treed9404d155aa96dd58ff9d02cdb2a30e7136405da /board/varisys/cyrus/eth.c
parentdbd5df89d65172f94dec78af809f1e50dbd61fe6 (diff)
parente8a390f0189c5868f2fa305004821bcfcd71d32c (diff)
Merge git://git.denx.de/u-boot-mpc85xx
Diffstat (limited to 'board/varisys/cyrus/eth.c')
-rw-r--r--board/varisys/cyrus/eth.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/board/varisys/cyrus/eth.c b/board/varisys/cyrus/eth.c
index bcadc67794..fc2192a4d2 100644
--- a/board/varisys/cyrus/eth.c
+++ b/board/varisys/cyrus/eth.c
@@ -19,7 +19,7 @@
#define FIRST_PORT_ADDR 3
#define SECOND_PORT_ADDR 7
-#ifdef CONFIG_PPC_P5040
+#ifdef CONFIG_ARCH_P5040
#define FIRST_PORT FM1_DTSEC5
#define SECOND_PORT FM2_DTSEC5
#else
@@ -83,7 +83,7 @@ int board_eth_init(bd_t *bis)
fm_disable_port(i);
}
-#ifdef CONFIG_PPC_P5040
+#ifdef CONFIG_ARCH_P5040
for (i = FM2_DTSEC2; i < FM2_DTSEC1 + CONFIG_SYS_NUM_FM2_DTSEC; i++) {
if (!IS_VALID_PORT(i))
fm_disable_port(i);