Patrick Georgi | 8dd1b21 | 2020-05-08 23:13:39 +0200 | [diff] [blame] | 1 | ## SPDX-License-Identifier: GPL-2.0-only |
Hung-Te Lin | 7635a60 | 2013-02-12 00:07:38 +0800 | [diff] [blame] | 2 | |
| 3 | # Emulation for ARM Ltd Versatile Express Cortex-A9 |
| 4 | # http://www.arm.com/products/tools/development-boards/versatile-express |
| 5 | |
| 6 | # To execute, do: |
Elyes HAOUAS | 6350a2e | 2016-09-16 20:49:38 +0200 | [diff] [blame] | 7 | # export QEMU_AUDIO_DRV = none |
Vladimir Serbinenko | 4f22267 | 2016-02-18 16:21:15 +0100 | [diff] [blame] | 8 | # qemu-system-arm -M vexpress-a9 -m 1024M -nographic -bios build/coreboot.rom |
Hung-Te Lin | 7635a60 | 2013-02-12 00:07:38 +0800 | [diff] [blame] | 9 | |
| 10 | if BOARD_EMULATION_QEMU_ARMV7 |
| 11 | |
Elyes HAOUAS | f0c5be2 | 2018-11-27 20:36:44 +0100 | [diff] [blame] | 12 | config BOARD_SPECIFIC_OPTIONS |
Hung-Te Lin | 7635a60 | 2013-02-12 00:07:38 +0800 | [diff] [blame] | 13 | def_bool y |
Hung-Te Lin | 7635a60 | 2013-02-12 00:07:38 +0800 | [diff] [blame] | 14 | select CPU_ARMLTD_CORTEX_A9 |
Kyösti Mälkki | 7e75f20 | 2014-02-10 23:21:14 +0200 | [diff] [blame] | 15 | select DRIVERS_UART_PL011 |
Vladimir Serbinenko | 2a59a44 | 2016-02-19 15:21:49 +0100 | [diff] [blame] | 16 | select MAINBOARD_HAS_NATIVE_VGA_INIT |
Nico Huber | 26ce9af | 2017-05-22 13:22:09 +0200 | [diff] [blame] | 17 | select MAINBOARD_FORCE_NATIVE_VGA_INIT |
Nico Huber | 7971582e | 2017-05-20 01:07:48 +0200 | [diff] [blame] | 18 | select HAVE_LINEAR_FRAMEBUFFER |
Martin Roth | ae1bab3 | 2015-12-06 18:13:43 -0700 | [diff] [blame] | 19 | select ARCH_BOOTBLOCK_ARMV7 |
| 20 | select ARCH_ROMSTAGE_ARMV7 |
| 21 | select ARCH_RAMSTAGE_ARMV7 |
Hung-Te Lin | 7635a60 | 2013-02-12 00:07:38 +0800 | [diff] [blame] | 22 | select BOARD_ROMSIZE_KB_4096 |
Aaron Durbin | 4a36c4e | 2016-08-11 11:02:26 -0500 | [diff] [blame] | 23 | select BOOT_DEVICE_NOT_SPI_FLASH |
Nico Huber | 9df62b0 | 2018-10-17 19:40:26 +0200 | [diff] [blame] | 24 | select MISSING_BOARD_RESET |
Kyösti Mälkki | 76c4386 | 2019-07-01 17:25:41 +0300 | [diff] [blame] | 25 | select NO_MONOTONIC_TIMER |
Hung-Te Lin | 7635a60 | 2013-02-12 00:07:38 +0800 | [diff] [blame] | 26 | |
Furquan Shaikh | 46514c2 | 2020-06-11 11:59:07 -0700 | [diff] [blame] | 27 | config MEMLAYOUT_LD_FILE |
| 28 | string |
| 29 | default "src/mainboard/emulation/qemu-armv7/memlayout.ld" |
| 30 | |
Hung-Te Lin | 7635a60 | 2013-02-12 00:07:38 +0800 | [diff] [blame] | 31 | config MAINBOARD_DIR |
Patrick Georgi | 0bb8346 | 2019-11-22 20:58:58 +0100 | [diff] [blame] | 32 | default "emulation/qemu-armv7" |
Hung-Te Lin | 7635a60 | 2013-02-12 00:07:38 +0800 | [diff] [blame] | 33 | |
| 34 | config MAINBOARD_PART_NUMBER |
Stefan Reinauer | 8f99378 | 2013-09-09 14:37:03 -0700 | [diff] [blame] | 35 | default "QEMU ARMv7" |
Hung-Te Lin | 7635a60 | 2013-02-12 00:07:38 +0800 | [diff] [blame] | 36 | |
| 37 | config MAX_CPUS |
| 38 | int |
| 39 | default 2 |
| 40 | |
| 41 | config MAINBOARD_VENDOR |
| 42 | string |
| 43 | default "ARM Ltd." |
| 44 | |
Patrick Rudolph | bd4bcab | 2019-06-30 22:12:15 +0200 | [diff] [blame] | 45 | config DRAM_SIZE_MB |
| 46 | int |
| 47 | default 1024 |
| 48 | |
Hung-Te Lin | 7635a60 | 2013-02-12 00:07:38 +0800 | [diff] [blame] | 49 | endif # BOARD_EMULATION_QEMU_ARMV7 |