forked from Minki/linux
e5e16d8f3e
Currently, little endian is only supported on powernv and pseries, however, Kconfigs still allow us to include other platforms in a LE kernel, this may result in space wasting or even build error if some BE-only platforms always assume they are built for a BE kernel. So just modify the Kconfigs of BE-only platforms to remove them from being built for a LE kernel. For 32bit only platforms, nothing needs to be done, because CPU_LITTLE_ENDIAN depends on PPC64. For 64bit supported platforms, add CPU_BIG_ENDIAN to dependencies explicitly, so that these platforms will be disabled for LE [Suggested-by: Cédric Le Goater <clg@fr.ibm.com>]. Signed-off-by: Boqun Feng <boqun.feng@gmail.com> Acked-by: Geoff Levand <geoff@infradead.org> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
41 lines
936 B
Plaintext
41 lines
936 B
Plaintext
config PPC_PASEMI
|
|
depends on PPC64 && PPC_BOOK3S && CPU_BIG_ENDIAN
|
|
bool "PA Semi SoC-based platforms"
|
|
default n
|
|
select MPIC
|
|
select PCI
|
|
select PPC_UDBG_16550
|
|
select PPC_NATIVE
|
|
select MPIC_BROKEN_REGREAD
|
|
help
|
|
This option enables support for PA Semi's PWRficient line
|
|
of SoC processors, including PA6T-1682M
|
|
|
|
menu "PA Semi PWRficient options"
|
|
depends on PPC_PASEMI
|
|
|
|
config PPC_PASEMI_IOMMU
|
|
bool "PA Semi IOMMU support"
|
|
depends on PPC_PASEMI
|
|
help
|
|
IOMMU support for PA Semi PWRficient
|
|
|
|
config PPC_PASEMI_IOMMU_DMA_FORCE
|
|
bool "Force DMA engine to use IOMMU"
|
|
depends on PPC_PASEMI_IOMMU
|
|
help
|
|
This option forces the use of the IOMMU also for the
|
|
DMA engine. Otherwise the kernel will use it only when
|
|
running under a hypervisor.
|
|
|
|
If in doubt, say "N".
|
|
|
|
config PPC_PASEMI_MDIO
|
|
depends on PHYLIB
|
|
tristate "MDIO support via GPIO"
|
|
default y
|
|
help
|
|
Driver for MDIO via GPIO on PWRficient platforms
|
|
|
|
endmenu
|