aboutsummaryrefslogtreecommitdiffstats
path: root/roms/u-boot/arch/arm/cpu/armv8/config.mk
diff options
context:
space:
mode:
Diffstat (limited to 'roms/u-boot/arch/arm/cpu/armv8/config.mk')
-rw-r--r--roms/u-boot/arch/arm/cpu/armv8/config.mk12
1 files changed, 12 insertions, 0 deletions
diff --git a/roms/u-boot/arch/arm/cpu/armv8/config.mk b/roms/u-boot/arch/arm/cpu/armv8/config.mk
new file mode 100644
index 000000000..6f9093109
--- /dev/null
+++ b/roms/u-boot/arch/arm/cpu/armv8/config.mk
@@ -0,0 +1,12 @@
+# SPDX-License-Identifier: GPL-2.0+
+#
+# (C) Copyright 2002
+# Gary Jennejohn, DENX Software Engineering, <garyj@denx.de>
+PLATFORM_RELFLAGS += -fno-common -ffixed-x18
+
+PF_NO_UNALIGNED := $(call cc-option, -mstrict-align)
+PLATFORM_CPPFLAGS += $(PF_NO_UNALIGNED)
+
+EFI_LDS := elf_aarch64_efi.lds
+EFI_CRT0 := crt0_aarch64_efi.o
+EFI_RELOC := reloc_aarch64_efi.o