[PATCH V2 3/9] ppc64el: kernel: config: split common/big-endian powerpc64 options
Move big-endian exclusive options into config-arch-64-be. Mostly things
that don't support little-endian mode: Cell, PS3, PASemi, Maple, PowerMac.
Signed-off-by: Mauricio Faria de Oliveira <mauricfo@linux.vnet.ibm.com>
---
debian/config/kernelarch-powerpc/config-arch-64 | 84 -----------------
debian/config/kernelarch-powerpc/config-arch-64-be | 96 ++++++++++++++++++++
debian/config/powerpc/defines | 2 +-
debian/config/ppc64/defines | 2 +-
4 files changed, 98 insertions(+), 86 deletions(-)
create mode 100644 debian/config/kernelarch-powerpc/config-arch-64-be
diff --git a/debian/config/kernelarch-powerpc/config-arch-64 b/debian/config/kernelarch-powerpc/config-arch-64
index 269ddb0..7e1af1d 100644
--- a/debian/config/kernelarch-powerpc/config-arch-64
+++ b/debian/config/kernelarch-powerpc/config-arch-64
@@ -19,49 +19,12 @@ CONFIG_RTAS_FLASH=m
CONFIG_IBMEBUS=y
##
-## file: arch/powerpc/platforms/cell/Kconfig
-##
-CONFIG_PPC_IBM_CELL_BLADE=y
-# CONFIG_PPC_CELLEB is not set
-CONFIG_SPU_FS=m
-CONFIG_SPU_FS_64K_LS=y
-CONFIG_CBE_RAS=y
-CONFIG_CBE_THERM=m
-
-##
## file: arch/powerpc/platforms/Kconfig.cputype
##
CONFIG_PPC64=y
# CONFIG_TUNE_CELL is not set
CONFIG_ALTIVEC=y
CONFIG_SMP=y
-CONFIG_NR_CPUS=32
-
-##
-## file: arch/powerpc/platforms/maple/Kconfig
-##
-CONFIG_PPC_MAPLE=y
-
-##
-## file: arch/powerpc/platforms/pasemi/Kconfig
-##
-CONFIG_PPC_PASEMI=y
-CONFIG_PPC_PASEMI_MDIO=m
-
-##
-## file: arch/powerpc/platforms/ps3/Kconfig
-##
-CONFIG_PPC_PS3=y
-CONFIG_PS3_ADVANCED=y
-CONFIG_PS3_HTAB_SIZE=20
-# CONFIG_PS3_DYNAMIC_DMA is not set
-CONFIG_PS3_PS3AV=y
-CONFIG_PS3_SYS_MANAGER=y
-CONFIG_PS3_DISK=m
-CONFIG_PS3_ROM=m
-CONFIG_PS3_FLASH=m
-CONFIG_PS3_VRAM=m
-CONFIG_PS3_LPM=m
##
## file: arch/powerpc/platforms/pseries/Kconfig
@@ -91,28 +54,6 @@ CONFIG_BLK_DEV_RSXX=m
## file: drivers/char/hw_random/Kconfig
##
CONFIG_HW_RANDOM=m
-CONFIG_HW_RANDOM_PASEMI=m
-
-##
-## file: drivers/cpufreq/Kconfig.powerpc
-##
-CONFIG_CPU_FREQ_CBE=m
-CONFIG_CPU_FREQ_PMAC64=y
-#. It's a bool
-CONFIG_PPC_PASEMI_CPUFREQ=y
-
-##
-## file: drivers/i2c/busses/Kconfig
-##
-CONFIG_I2C_PASEMI=m
-
-##
-## file: drivers/macintosh/Kconfig
-##
-CONFIG_WINDFARM=m
-CONFIG_WINDFARM_PM81=m
-CONFIG_WINDFARM_PM91=m
-CONFIG_WINDFARM_PM112=m
##
## file: drivers/net/ethernet/ibm/Kconfig
@@ -137,28 +78,11 @@ CONFIG_IBM_EMAC_RX_SKB_HEADROOM=0
# CONFIG_MV643XX_ETH is not set
##
-## file: drivers/net/ethernet/pasemi/Kconfig
-##
-CONFIG_PASEMI_MAC=m
-
-##
-## file: drivers/net/ethernet/toshiba/Kconfig
-##
-CONFIG_GELIC_NET=m
-CONFIG_GELIC_WIRELESS=y
-CONFIG_SPIDER_NET=m
-
-##
## file: drivers/pci/hotplug/Kconfig
##
# CONFIG_HOTPLUG_PCI is not set
##
-## file: drivers/rtc/Kconfig
-##
-CONFIG_RTC_DRV_PS3=m
-
-##
## file: drivers/scsi/Kconfig
##
CONFIG_SCSI_IBMVSCSI=m
@@ -189,8 +113,6 @@ CONFIG_HVCS=m
# CONFIG_FB_VALKYRIE is not set
# CONFIG_FB_IMSTT is not set
# CONFIG_FB_ATY128 is not set
-CONFIG_FB_PS3=y
-CONFIG_FB_PS3_DEFAULT_SIZE_M=9
##
## file: drivers/watchdog/Kconfig
@@ -207,9 +129,3 @@ CONFIG_SPARSEMEM_MANUAL=y
## end choice
CONFIG_SPARSEMEM_VMEMMAP=y
-##
-## file: sound/ppc/Kconfig
-##
-CONFIG_SND_PS3=m
-CONFIG_SND_PS3_DEFAULT_START_DELAY=2000
-
diff --git a/debian/config/kernelarch-powerpc/config-arch-64-be b/debian/config/kernelarch-powerpc/config-arch-64-be
new file mode 100644
index 0000000..486c347
--- /dev/null
+++ b/debian/config/kernelarch-powerpc/config-arch-64-be
@@ -0,0 +1,96 @@
+##
+## file: arch/powerpc/platforms/Kconfig.cputype
+##
+CONFIG_NR_CPUS=32
+
+##
+## file: arch/powerpc/platforms/cell/Kconfig
+##
+CONFIG_PPC_IBM_CELL_BLADE=y
+# CONFIG_PPC_CELLEB is not set
+CONFIG_SPU_FS=m
+CONFIG_SPU_FS_64K_LS=y
+CONFIG_CBE_RAS=y
+CONFIG_CBE_THERM=m
+
+##
+## file: arch/powerpc/platforms/maple/Kconfig
+##
+CONFIG_PPC_MAPLE=y
+
+##
+## file: arch/powerpc/platforms/pasemi/Kconfig
+##
+CONFIG_PPC_PASEMI=y
+CONFIG_PPC_PASEMI_MDIO=m
+
+##
+## file: arch/powerpc/platforms/ps3/Kconfig
+##
+CONFIG_PPC_PS3=y
+CONFIG_PS3_ADVANCED=y
+CONFIG_PS3_HTAB_SIZE=20
+# CONFIG_PS3_DYNAMIC_DMA is not set
+CONFIG_PS3_PS3AV=y
+CONFIG_PS3_SYS_MANAGER=y
+CONFIG_PS3_DISK=m
+CONFIG_PS3_ROM=m
+CONFIG_PS3_FLASH=m
+CONFIG_PS3_VRAM=m
+CONFIG_PS3_LPM=m
+
+##
+## file: drivers/char/hw_random/Kconfig
+##
+CONFIG_HW_RANDOM_PASEMI=m
+
+##
+## file: drivers/cpufreq/Kconfig.powerpc
+##
+CONFIG_CPU_FREQ_CBE=m
+CONFIG_CPU_FREQ_PMAC64=y
+#. It's a bool
+CONFIG_PPC_PASEMI_CPUFREQ=y
+
+##
+## file: drivers/i2c/busses/Kconfig
+##
+CONFIG_I2C_PASEMI=m
+
+##
+## file: drivers/macintosh/Kconfig
+##
+CONFIG_WINDFARM=m
+CONFIG_WINDFARM_PM81=m
+CONFIG_WINDFARM_PM91=m
+CONFIG_WINDFARM_PM112=m
+
+##
+## file: drivers/net/ethernet/pasemi/Kconfig
+##
+CONFIG_PASEMI_MAC=m
+
+##
+## file: drivers/net/ethernet/toshiba/Kconfig
+##
+CONFIG_GELIC_NET=m
+CONFIG_GELIC_WIRELESS=y
+CONFIG_SPIDER_NET=m
+
+##
+## file: drivers/rtc/Kconfig
+##
+CONFIG_RTC_DRV_PS3=m
+
+##
+## file: drivers/video/Kconfig
+##
+CONFIG_FB_PS3=y
+CONFIG_FB_PS3_DEFAULT_SIZE_M=9
+
+##
+## file: sound/ppc/Kconfig
+##
+CONFIG_SND_PS3=m
+CONFIG_SND_PS3_DEFAULT_START_DELAY=2000
+
diff --git a/debian/config/powerpc/defines b/debian/config/powerpc/defines
index 86f7164..5f26331 100644
--- a/debian/config/powerpc/defines
+++ b/debian/config/powerpc/defines
@@ -26,4 +26,4 @@ configs: powerpc/config.powerpc powerpc/config.powerpc-smp
hardware: 64-bit PowerPC
[powerpc64_image]
-configs: kernelarch-powerpc/config-arch-64 powerpc/config.powerpc64
+configs: kernelarch-powerpc/config-arch-64 powerpc/config.powerpc64 kernelarch-powerpc/config-arch-64-be
diff --git a/debian/config/ppc64/defines b/debian/config/ppc64/defines
index 3f0afd9..dd85eb0 100644
--- a/debian/config/ppc64/defines
+++ b/debian/config/ppc64/defines
@@ -19,4 +19,4 @@ gcc-4.8: gcc-4.8 (>= 4.8.2-21)
hardware: 64-bit PowerPC
[powerpc64_image]
-configs: kernelarch-powerpc/config-arch-64
+configs: kernelarch-powerpc/config-arch-64 kernelarch-powerpc/config-arch-64-be
--
1.7.1
Reply to: