浏览代码

[MIPS] QEMU: Add support for little endian mips

This very small patch adds support for little endian on the virtual QEMU
mips platform. The status of this platform is the same as the big endian
one, ie it is possible to boot a system with init=/bin/sh.

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Aurelien Jarno 18 年之前
父节点
当前提交
c8cc9618c5
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      arch/mips/Kconfig

+ 1 - 0
arch/mips/Kconfig

@@ -537,6 +537,7 @@ config QEMU
 	select SYS_HAS_CPU_MIPS32_R1
 	select SYS_SUPPORTS_32BIT_KERNEL
 	select SYS_SUPPORTS_BIG_ENDIAN
+	select SYS_SUPPORTS_LITTLE_ENDIAN
 	select ARCH_SPARSEMEM_ENABLE
 	help
 	  Qemu is a software emulator which among other architectures also