diff options
author | York Sun <york.sun@nxp.com> | 2016-11-16 15:45:31 -0800 |
---|---|---|
committer | York Sun <york.sun@nxp.com> | 2016-11-23 23:42:07 -0800 |
commit | 9bb1d6bcd28f036ffc44cadd462eef4e36e340a5 (patch) | |
tree | 7f5d58fd5fe37bab5408c1df386207566545d6cd /drivers/net | |
parent | aa6e241a4ce8b3b82eaf37d670f93e0db43d036f (diff) | |
download | u-boot-9bb1d6bcd28f036ffc44cadd462eef4e36e340a5.tar.gz |
powerpc: P1023: Remove macro CONFIG_P1023
Replace CONFIG_P1023 with ARCH_P1023 in Kconfig and clean up existing
macros.
Signed-off-by: York Sun <york.sun@nxp.com>
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/fm/Makefile | 2 | ||||
-rw-r--r-- | drivers/net/fm/fm.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/fm/Makefile b/drivers/net/fm/Makefile index 316fef485d..05abbcffe8 100644 --- a/drivers/net/fm/Makefile +++ b/drivers/net/fm/Makefile @@ -18,7 +18,7 @@ obj-$(CONFIG_SYS_FMAN_V3) += memac.o # SoC specific SERDES support obj-$(CONFIG_P1017) += p1023.o -obj-$(CONFIG_P1023) += p1023.o +obj-$(CONFIG_ARCH_P1023) += p1023.o # The P204x, P304x, and P5020 are the same obj-$(CONFIG_PPC_P2041) += p5020.o obj-$(CONFIG_PPC_P3041) += p5020.o diff --git a/drivers/net/fm/fm.h b/drivers/net/fm/fm.h index fa9bc9f42d..d31b19662b 100644 --- a/drivers/net/fm/fm.h +++ b/drivers/net/fm/fm.h @@ -88,7 +88,7 @@ struct fm_port_global_pram { #define PRAM_MODE_GLOBAL 0x20000000 #define PRAM_MODE_GRACEFUL_STOP 0x00800000 -#if defined(CONFIG_P1017) || defined(CONFIG_P1023) +#if defined(CONFIG_P1017) || defined(CONFIG_ARCH_P1023) #define FM_FREE_POOL_SIZE 0x2000 /* 8K bytes */ #else #define FM_FREE_POOL_SIZE 0x20000 /* 128K bytes */ |