diff options
author | Anton Blanchard <anton@samba.org> | 2013-11-20 06:15:05 -0500 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2013-11-20 17:19:22 -0500 |
commit | 7c105b63bd9887f10ec281b0020492e7c774d0fc (patch) | |
tree | 6ff54e40e92ae6ddda94d0da1479c1266475478e /arch | |
parent | b2ca8c895e711b10d6f28b26248358bfa2f354ad (diff) |
powerpc: Add CONFIG_CPU_LITTLE_ENDIAN kernel config option.
With the little endian support merged, we can add the
CONFIG_CPU_LITTLE_ENDIAN kernel config option.
Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/powerpc/platforms/Kconfig.cputype | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/arch/powerpc/platforms/Kconfig.cputype b/arch/powerpc/platforms/Kconfig.cputype index c2a566fb8bb8..132f8726a257 100644 --- a/arch/powerpc/platforms/Kconfig.cputype +++ b/arch/powerpc/platforms/Kconfig.cputype | |||
@@ -403,3 +403,14 @@ config PPC_DOORBELL | |||
403 | default n | 403 | default n |
404 | 404 | ||
405 | endmenu | 405 | endmenu |
406 | |||
407 | config CPU_LITTLE_ENDIAN | ||
408 | bool "Build little endian kernel" | ||
409 | default n | ||
410 | help | ||
411 | This option selects whether a big endian or little endian kernel will | ||
412 | be built. | ||
413 | |||
414 | Note that if cross compiling a little endian kernel, | ||
415 | CROSS_COMPILE must point to a toolchain capable of targeting | ||
416 | little endian powerpc. | ||