summaryrefslogtreecommitdiff
path: root/src/mainboard/emulation/qemu-aarch64/Makefile.inc
diff options
context:
space:
mode:
authorAsami Doi <d0iasm.pub@gmail.com>2019-06-11 16:01:31 +0900
committerJulius Werner <jwerner@chromium.org>2019-08-08 01:12:06 +0000
commitf795242f26887e08162b77c5ca2967f6ffcfee02 (patch)
tree0d159f206fee5103b9de062c97c7301c59ec306e /src/mainboard/emulation/qemu-aarch64/Makefile.inc
parent9c55ee34acb9007f8152f4ceddea8c44df29ba75 (diff)
downloadcoreboot-f795242f26887e08162b77c5ca2967f6ffcfee02.tar.xz
mainboard/emulation/qemu-aarch64: Add new board for ARMv8
This CL adds a new board, QEMU/AArch64, for ARMv8. The machine supported is virt which is a QEMU 2.8 ARM virtual machine. The default CPU of qemu-system-aarch64 is Cortex-a15, so you need to specify a 64-bit cpu via a flag. To execute: $ qemu-system-aarch64 -M virt,secure=on,virtualization=on \ -cpu cortex-a53 -bios build/coreboot.rom -m 8192M -nographic Change-Id: Id7c0831b1ecf08785b4ec8139d809bad9b3e1eec Signed-off-by: Asami Doi <d0iasm.pub@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/33387 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Raul Rangel <rrangel@chromium.org> Reviewed-by: Julius Werner <jwerner@chromium.org>
Diffstat (limited to 'src/mainboard/emulation/qemu-aarch64/Makefile.inc')
-rw-r--r--src/mainboard/emulation/qemu-aarch64/Makefile.inc25
1 files changed, 25 insertions, 0 deletions
diff --git a/src/mainboard/emulation/qemu-aarch64/Makefile.inc b/src/mainboard/emulation/qemu-aarch64/Makefile.inc
new file mode 100644
index 0000000000..38ecdd1a7b
--- /dev/null
+++ b/src/mainboard/emulation/qemu-aarch64/Makefile.inc
@@ -0,0 +1,25 @@
+#
+# This file is part of the coreboot project.
+#
+# Copyright (C) 2019 Asami Doi <d0iasm.pub@gmail.com>
+#
+# SPDX-License-Identifier: GPL-2.0-or-later
+
+romstage-y += cbmem.c
+ramstage-y += cbmem.c
+
+bootblock-y += media.c
+romstage-y += media.c
+ramstage-y += media.c
+
+bootblock-y += mmio.c
+romstage-y += mmio.c
+ramstage-y += mmio.c
+
+bootblock-y += memlayout.ld
+romstage-y += memlayout.ld
+ramstage-y += memlayout.ld
+
+bootblock-y += bootblock_custom.S
+
+CPPFLAGS_common += -I$(src)/mainboard/$(MAINBOARDDIR)/include