blob: 76bdb321ea823efd39d5df3240cefcda7badfc19 [file] [log] [blame]
Hung-Te Lin7635a602013-02-12 00:07:38 +08001##
2## This file is part of the coreboot project.
3##
4## Copyright (C) 2013 Google Inc.
5##
6## This software is licensed under the terms of the GNU General Public
7## License version 2, as published by the Free Software Foundation, and
8## may be copied, distributed, and modified under those terms.
9##
10## This program is distributed in the hope that it will be useful,
11## but WITHOUT ANY WARRANTY; without even the implied warranty of
12## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13## GNU General Public License for more details.
14
15# Emulation for ARM Ltd Versatile Express Cortex-A9
16# http://www.arm.com/products/tools/development-boards/versatile-express
17
18# To execute, do:
Elyes HAOUAS6350a2e2016-09-16 20:49:38 +020019# export QEMU_AUDIO_DRV = none
Vladimir Serbinenko4f222672016-02-18 16:21:15 +010020# qemu-system-arm -M vexpress-a9 -m 1024M -nographic -bios build/coreboot.rom
Hung-Te Lin7635a602013-02-12 00:07:38 +080021
22if BOARD_EMULATION_QEMU_ARMV7
23
24config BOARD_SPECIFIC_OPTIONS # dummy
25 def_bool y
Hung-Te Lin7635a602013-02-12 00:07:38 +080026 select CPU_ARMLTD_CORTEX_A9
Kyösti Mälkki7e75f202014-02-10 23:21:14 +020027 select DRIVERS_UART_PL011
Hung-Te Lin8ba1b362014-02-12 12:11:14 +080028 select BOOTBLOCK_CONSOLE
Hung-Te Lin8ba1b362014-02-12 12:11:14 +080029 select CONSOLE_SERIAL
Martin Rothae1bab32015-12-06 18:13:43 -070030 select ARCH_BOOTBLOCK_ARMV7
31 select ARCH_ROMSTAGE_ARMV7
32 select ARCH_RAMSTAGE_ARMV7
Hung-Te Lin7635a602013-02-12 00:07:38 +080033 select BOARD_ROMSIZE_KB_4096
Aaron Durbin4a36c4e2016-08-11 11:02:26 -050034 select BOOT_DEVICE_NOT_SPI_FLASH
Hung-Te Lin7635a602013-02-12 00:07:38 +080035
36config MAINBOARD_DIR
37 string
38 default emulation/qemu-armv7
39
40config MAINBOARD_PART_NUMBER
41 string
Stefan Reinauer8f993782013-09-09 14:37:03 -070042 default "QEMU ARMv7"
Hung-Te Lin7635a602013-02-12 00:07:38 +080043
44config MAX_CPUS
45 int
46 default 2
47
48config MAINBOARD_VENDOR
49 string
50 default "ARM Ltd."
51
Hung-Te Lin7635a602013-02-12 00:07:38 +080052endif # BOARD_EMULATION_QEMU_ARMV7