mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson
synced 2025-09-04 02:25:58 +00:00

The configuration generated by kunit ends up with big endian. A new kunit configuration for little endian is to be added. To make the difference clearer spell out the endianness in the kunit reference config. Link: https://lore.kernel.org/r/20250415-kunit-ppc-v1-1-f5a170264147@linutronix.de Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de> Reviewed-by: David Gow <davidgow@google.com> Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
14 lines
381 B
Python
14 lines
381 B
Python
from ..qemu_config import QemuArchParams
|
|
|
|
QEMU_ARCH = QemuArchParams(linux_arch='powerpc',
|
|
kconfig='''
|
|
CONFIG_PPC64=y
|
|
CONFIG_CPU_BIG_ENDIAN=y
|
|
CONFIG_SERIAL_8250=y
|
|
CONFIG_SERIAL_8250_CONSOLE=y
|
|
CONFIG_HVC_CONSOLE=y''',
|
|
qemu_arch='ppc64',
|
|
kernel_path='vmlinux',
|
|
kernel_command_line='console=ttyS0',
|
|
extra_qemu_params=['-M', 'pseries', '-cpu', 'power8'])
|