diff options
author | York Sun <york.sun@nxp.com> | 2016-11-18 11:39:36 -0800 |
---|---|---|
committer | York Sun <york.sun@nxp.com> | 2016-11-23 23:42:11 -0800 |
commit | 95390360121451337738f73ed2f75f8dfbdce831 (patch) | |
tree | d236bc32d6ab97a0f8d0e186b99d9ac2d834907d /board | |
parent | 3b83649d53896cf115788130799d9ff585867e4a (diff) | |
download | u-boot-95390360121451337738f73ed2f75f8dfbdce831.tar.gz |
powerpc: P5040: Remove macro CONFIG_P5040
Replace CONFIG_P5040 with ARCH_P5040 in Kconfig and clean up
existing macros.
Signed-off-by: York Sun <york.sun@nxp.com>
Diffstat (limited to 'board')
-rw-r--r-- | board/varisys/cyrus/eth.c | 4 |
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); |