]> git.baikalelectronics.ru Git - kernel.git/commit
arm64: Kconfig: add a choice for endianness
authorAnders Roxell <anders.roxell@linaro.org>
Wed, 13 Nov 2019 09:26:52 +0000 (10:26 +0100)
committerCatalin Marinas <catalin.marinas@arm.com>
Thu, 14 Nov 2019 14:39:03 +0000 (14:39 +0000)
commit571e966c779b971005701c88a504ed7cb4d6e6ba
treef5d12c6d815f1c89f4c8ef332690619dd29c6b19
parent066a6b7870551868c2c4f602e75c4b660d3762a0
arm64: Kconfig: add a choice for endianness

When building allmodconfig KCONFIG_ALLCONFIG=$(pwd)/arch/arm64/configs/defconfig
CONFIG_CPU_BIG_ENDIAN gets enabled. Which tends not to be what most
people want. Another concern that has come up is that ACPI isn't built
for an allmodconfig kernel today since that also depends on !CPU_BIG_ENDIAN.

Rework so that we introduce a 'choice' and default the choice to
CPU_LITTLE_ENDIAN. That means that when we build an allmodconfig kernel
it will default to CPU_LITTLE_ENDIAN that most people tends to want.

Reviewed-by: John Garry <john.garry@huawei.com>
Acked-by: Will Deacon <will@kernel.org>
Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/Kconfig