xref: /linux/tools/testing/kunit/qemu_configs/sh.py (revision fd7d598270724cc787982ea48bbe17ad383a8b7f)
1# SPDX-License-Identifier: GPL-2.0-only
2from ..qemu_config import QemuArchParams
3
4QEMU_ARCH = QemuArchParams(linux_arch='sh',
5			   kconfig='''
6CONFIG_CPU_SUBTYPE_SH7751R=y
7CONFIG_MEMORY_START=0x0c000000
8CONFIG_SH_RTS7751R2D=y
9CONFIG_RTS7751R2D_PLUS=y
10CONFIG_SERIAL_SH_SCI=y''',
11			   qemu_arch='sh4',
12			   kernel_path='arch/sh/boot/zImage',
13			   kernel_command_line='console=ttySC1',
14			   serial='null',
15			   extra_qemu_params=[
16					    '-machine', 'r2d',
17					    '-serial', 'mon:stdio'])
18