Yaroslav Kurlaev | c1de9e8 | 2021-07-02 14:34:00 +0700 | [diff] [blame] | 1 | ## SPDX-License-Identifier: GPL-2.0-only |
| 2 | |
| 3 | # To execute, do: |
| 4 | # qemu-system-ppc64 -M powernv --cpu power9 --bios 'build/coreboot.rom' |
| 5 | |
| 6 | if BOARD_EMULATION_QEMU_POWER9 |
| 7 | |
| 8 | config BOARD_SPECIFIC_OPTIONS |
| 9 | def_bool y |
| 10 | select CPU_POWER9 |
Sergii Dmytruk | a816c29 | 2021-10-27 00:23:14 +0300 | [diff] [blame] | 11 | select BOARD_ROMSIZE_KB_1024 |
Yaroslav Kurlaev | c1de9e8 | 2021-07-02 14:34:00 +0700 | [diff] [blame] | 12 | select ARCH_BOOTBLOCK_PPC64 |
| 13 | select ARCH_VERSTAGE_PPC64 |
| 14 | select ARCH_ROMSTAGE_PPC64 |
| 15 | select ARCH_RAMSTAGE_PPC64 |
| 16 | select BOOT_DEVICE_NOT_SPI_FLASH |
| 17 | select MISSING_BOARD_RESET |
| 18 | |
| 19 | config MEMLAYOUT_LD_FILE |
| 20 | string |
| 21 | default "src/mainboard/\$(CONFIG_MAINBOARD_DIR)/memlayout.ld" |
| 22 | |
| 23 | config MAINBOARD_DIR |
| 24 | string |
| 25 | default "emulation/qemu-power9" |
| 26 | |
| 27 | config MAINBOARD_PART_NUMBER |
| 28 | string |
| 29 | default "QEMU POWER9" |
| 30 | |
| 31 | config MAX_CPUS |
| 32 | int |
| 33 | default 1 |
| 34 | |
| 35 | config MAINBOARD_VENDOR |
| 36 | string |
| 37 | default "Emulation" |
| 38 | |
| 39 | config DRAM_SIZE_MB |
| 40 | int |
| 41 | default 32768 |
| 42 | |
| 43 | endif # BOARD_EMULATION_QEMU_POWER9 |