summaryrefslogtreecommitdiff
path: root/arch/powerpc
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2015-02-07 11:51:36 -0700
committerSimon Glass <sjg@chromium.org>2015-02-12 10:35:30 -0700
commit0bca284b1795942ac8fdd1646f04f49e478f0bcc (patch)
tree3c275e20d36da322acb7b4454741402e123d9026 /arch/powerpc
parentc1c615735f5f3348a9df0623e366c7182506aebd (diff)
downloadu-boot-imx-0bca284b1795942ac8fdd1646f04f49e478f0bcc.zip
u-boot-imx-0bca284b1795942ac8fdd1646f04f49e478f0bcc.tar.gz
u-boot-imx-0bca284b1795942ac8fdd1646f04f49e478f0bcc.tar.bz2
powerpc: ppc4xx: canyonlands: config: Tidy up CONFIGs and config.mk
Many CONFIG options have an unnecessary value of 1. CONFIG_440 is set in the various board config files. Also simplify the CONFIG_440 check in config.mk Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/powerpc')
-rw-r--r--arch/powerpc/cpu/ppc4xx/config.mk5
1 files changed, 1 insertions, 4 deletions
diff --git a/arch/powerpc/cpu/ppc4xx/config.mk b/arch/powerpc/cpu/ppc4xx/config.mk
index f87c9dc..9cb41bb 100644
--- a/arch/powerpc/cpu/ppc4xx/config.mk
+++ b/arch/powerpc/cpu/ppc4xx/config.mk
@@ -7,10 +7,7 @@
PLATFORM_CPPFLAGS += -mstring -msoft-float
-cfg=$(srctree)/include/configs/$(CONFIG_SYS_CONFIG_NAME:"%"=%).h
-is440:=$(shell grep CONFIG_440 $(cfg))
-
-ifneq (,$(findstring CONFIG_440,$(is440)))
+ifneq (,$(CONFIG_440))
PLATFORM_CPPFLAGS += -Wa,-m440 -mcpu=440
else
PLATFORM_CPPFLAGS += -Wa,-m405 -mcpu=405