diff options
author | Scott Wood <scottwood@freescale.com> | 2013-08-20 19:55:36 -0500 |
---|---|---|
committer | Scott Wood <scottwood@freescale.com> | 2013-08-20 19:55:36 -0500 |
commit | 01718ba6ec30013c7d47084876b9c16471b291af (patch) | |
tree | 5ae076f618a20331083c85efa85f72cc1a7cb146 /arch/powerpc/platforms | |
parent | f49596a4cf4753d13951608f24f939a59fdcc653 (diff) | |
download | linux-01718ba6ec30013c7d47084876b9c16471b291af.tar.bz2 |
powerpc/booke64: Use appropriate -mcpu
By default use -mcpu=powerpc64 rather than -mtune=power7
Add options for e5500/e6500, with fallbacks for older compilers.
Hide the POWER cpu options in booke configs.
Signed-off-by: Scott Wood <scottwood@freescale.com>
Diffstat (limited to 'arch/powerpc/platforms')
-rw-r--r-- | arch/powerpc/platforms/Kconfig.cputype | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/arch/powerpc/platforms/Kconfig.cputype b/arch/powerpc/platforms/Kconfig.cputype index 47d9a03dd415..6704e2e20e6b 100644 --- a/arch/powerpc/platforms/Kconfig.cputype +++ b/arch/powerpc/platforms/Kconfig.cputype @@ -96,18 +96,31 @@ config GENERIC_CPU config CELL_CPU bool "Cell Broadband Engine" + depends on PPC_BOOK3S_64 config POWER4_CPU bool "POWER4" + depends on PPC_BOOK3S_64 config POWER5_CPU bool "POWER5" + depends on PPC_BOOK3S_64 config POWER6_CPU bool "POWER6" + depends on PPC_BOOK3S_64 config POWER7_CPU bool "POWER7" + depends on PPC_BOOK3S_64 + +config E5500_CPU + bool "Freescale e5500" + depends on E500 + +config E6500_CPU + bool "Freescale e6500" + depends on E500 endchoice |