summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/cpu
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/cpu
parentc1c615735f5f3348a9df0623e366c7182506aebd (diff)
downloadblackbird-obmc-uboot-0bca284b1795942ac8fdd1646f04f49e478f0bcc.tar.gz
blackbird-obmc-uboot-0bca284b1795942ac8fdd1646f04f49e478f0bcc.zip
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/cpu')
-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 f87c9dc49b..9cb41bb3b5 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
OpenPOWER on IntegriCloud