summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorJ. German Rivera <Jose.G.Rivera@freescale.com>2013-09-04 22:42:18 (GMT)
committerJ. German Rivera <German.Rivera@freescale.com>2013-09-04 22:59:48 (GMT)
commit973043261f17cb93d308c02ff277c38ea9884dbe (patch)
tree07b89c3d4758162a29398c020235d487992d2aff /arch
parent8284dd8c68e1d9fb070987802a728841585d659e (diff)
downloadlinux-fsl-qoriq-973043261f17cb93d308c02ff277c38ea9884dbe.tar.xz
Revert "powerpc: remove default -mtune=power7/power4 flag"
This reverts commit 0d22173d1a7cc3b094144a1dadc8164fca023fbf, which needed to be reverted, as it causes a compilation error for the linux kernel, when built for the 85xx/e6500rev2_defconfig configuration. See CR ENGR00278263.
Diffstat (limited to 'arch')
-rw-r--r--arch/powerpc/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/Makefile b/arch/powerpc/Makefile
index deb9c61..1893fb9 100644
--- a/arch/powerpc/Makefile
+++ b/arch/powerpc/Makefile
@@ -91,6 +91,7 @@ CFLAGS-$(CONFIG_PPC64) += $(call cc-option,-mno-pointers-to-nested-functions)
CFLAGS-$(CONFIG_PPC32) := -ffixed-r2 -mmultiple
+CFLAGS-$(CONFIG_GENERIC_CPU) += $(call cc-option,-mtune=power7,-mtune=power4)
CFLAGS-$(CONFIG_CELL_CPU) += $(call cc-option,-mcpu=cell)
CFLAGS-$(CONFIG_POWER4_CPU) += $(call cc-option,-mcpu=power4)
CFLAGS-$(CONFIG_POWER5_CPU) += $(call cc-option,-mcpu=power5)