xref: /linux/tools/testing/kunit/qemu_configs/sh.py (revision 1ac731c529cd4d6adbce134754b51ff7d822b145)
1*8110a3caSGeert Uytterhoeven# SPDX-License-Identifier: GPL-2.0-only
2*8110a3caSGeert Uytterhoevenfrom ..qemu_config import QemuArchParams
3*8110a3caSGeert Uytterhoeven
4*8110a3caSGeert UytterhoevenQEMU_ARCH = QemuArchParams(linux_arch='sh',
5*8110a3caSGeert Uytterhoeven			   kconfig='''
6*8110a3caSGeert UytterhoevenCONFIG_CPU_SUBTYPE_SH7751R=y
7*8110a3caSGeert UytterhoevenCONFIG_MEMORY_START=0x0c000000
8*8110a3caSGeert UytterhoevenCONFIG_SH_RTS7751R2D=y
9*8110a3caSGeert UytterhoevenCONFIG_RTS7751R2D_PLUS=y
10*8110a3caSGeert UytterhoevenCONFIG_SERIAL_SH_SCI=y''',
11*8110a3caSGeert Uytterhoeven			   qemu_arch='sh4',
12*8110a3caSGeert Uytterhoeven			   kernel_path='arch/sh/boot/zImage',
13*8110a3caSGeert Uytterhoeven			   kernel_command_line='console=ttySC1',
14*8110a3caSGeert Uytterhoeven			   serial='null',
15*8110a3caSGeert Uytterhoeven			   extra_qemu_params=[
16*8110a3caSGeert Uytterhoeven					    '-machine', 'r2d',
17*8110a3caSGeert Uytterhoeven					    '-serial', 'mon:stdio'])
18