Hung-Te Lin | 7635a60 | 2013-02-12 00:07:38 +0800 | [diff] [blame] | 1 | ## |
| 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 HAOUAS | 6350a2e | 2016-09-16 20:49:38 +0200 | [diff] [blame] | 19 | # export QEMU_AUDIO_DRV = none |
Vladimir Serbinenko | 4f22267 | 2016-02-18 16:21:15 +0100 | [diff] [blame] | 20 | # 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] | 21 | |
| 22 | if BOARD_EMULATION_QEMU_ARMV7 |
| 23 | |
| 24 | config BOARD_SPECIFIC_OPTIONS # dummy |
| 25 | def_bool y |
Hung-Te Lin | 7635a60 | 2013-02-12 00:07:38 +0800 | [diff] [blame] | 26 | select CPU_ARMLTD_CORTEX_A9 |
Kyösti Mälkki | 7e75f20 | 2014-02-10 23:21:14 +0200 | [diff] [blame] | 27 | select DRIVERS_UART_PL011 |
Hung-Te Lin | 8ba1b36 | 2014-02-12 12:11:14 +0800 | [diff] [blame] | 28 | select BOOTBLOCK_CONSOLE |
Hung-Te Lin | 8ba1b36 | 2014-02-12 12:11:14 +0800 | [diff] [blame] | 29 | select CONSOLE_SERIAL |
Vladimir Serbinenko | 2a59a44 | 2016-02-19 15:21:49 +0100 | [diff] [blame^] | 30 | select MAINBOARD_HAS_NATIVE_VGA_INIT |
| 31 | select MAINBOARD_DO_NATIVE_VGA_INIT |
Martin Roth | ae1bab3 | 2015-12-06 18:13:43 -0700 | [diff] [blame] | 32 | select ARCH_BOOTBLOCK_ARMV7 |
| 33 | select ARCH_ROMSTAGE_ARMV7 |
| 34 | select ARCH_RAMSTAGE_ARMV7 |
Hung-Te Lin | 7635a60 | 2013-02-12 00:07:38 +0800 | [diff] [blame] | 35 | select BOARD_ROMSIZE_KB_4096 |
Aaron Durbin | 4a36c4e | 2016-08-11 11:02:26 -0500 | [diff] [blame] | 36 | select BOOT_DEVICE_NOT_SPI_FLASH |
Hung-Te Lin | 7635a60 | 2013-02-12 00:07:38 +0800 | [diff] [blame] | 37 | |
| 38 | config MAINBOARD_DIR |
| 39 | string |
| 40 | default emulation/qemu-armv7 |
| 41 | |
| 42 | config MAINBOARD_PART_NUMBER |
| 43 | string |
Stefan Reinauer | 8f99378 | 2013-09-09 14:37:03 -0700 | [diff] [blame] | 44 | default "QEMU ARMv7" |
Hung-Te Lin | 7635a60 | 2013-02-12 00:07:38 +0800 | [diff] [blame] | 45 | |
| 46 | config MAX_CPUS |
| 47 | int |
| 48 | default 2 |
| 49 | |
| 50 | config MAINBOARD_VENDOR |
| 51 | string |
| 52 | default "ARM Ltd." |
| 53 | |
Hung-Te Lin | 7635a60 | 2013-02-12 00:07:38 +0800 | [diff] [blame] | 54 | endif # BOARD_EMULATION_QEMU_ARMV7 |