diff options
author | Simon Glass <sjg@chromium.org> | 2016-11-07 08:47:10 -0700 |
---|---|---|
committer | Alexander Graf <agraf@suse.de> | 2016-11-14 23:24:04 +0100 |
commit | dd46eef2f6e0b7dce2e6bcd85ed8caca5a6b606c (patch) | |
tree | 74f90abb47c2797ccbe52d642f6d6e3795251b67 /arch/arm/config.mk | |
parent | c70f74a081c2005b0a4749cf8762fc14b7369ddb (diff) | |
download | u-boot-dd46eef2f6e0b7dce2e6bcd85ed8caca5a6b606c.zip u-boot-dd46eef2f6e0b7dce2e6bcd85ed8caca5a6b606c.tar.gz u-boot-dd46eef2f6e0b7dce2e6bcd85ed8caca5a6b606c.tar.bz2 |
efi: arm: Add EFI app support
Add support for EFI apps on ARM. This includes start-up and relocation
code, plus a link script and some compiler setting changes.
Signed-off-by: Simon Glass <sjg@chromium.org>
[agraf: Remove whitespace change, add kconfig dep]
Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'arch/arm/config.mk')
-rw-r--r-- | arch/arm/config.mk | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm/config.mk b/arch/arm/config.mk index 542b897..27914a9 100644 --- a/arch/arm/config.mk +++ b/arch/arm/config.mk @@ -13,6 +13,9 @@ CONFIG_STANDALONE_LOAD_ADDR = 0xc100000 endif endif +CFLAGS_NON_EFI := -fno-pic -ffixed-r9 -ffunction-sections -fdata-sections +CFLAGS_EFI := -fpic -fshort-wchar + LDFLAGS_FINAL += --gc-sections PLATFORM_RELFLAGS += -ffunction-sections -fdata-sections \ -fno-common -ffixed-r9 @@ -148,3 +151,7 @@ ifneq ($(CONFIG_VF610),) ALL-y += u-boot.vyb endif endif + +EFI_LDS := elf_arm_efi.lds +EFI_CRT0 := crt0_arm_efi.o +EFI_RELOC := reloc_arm_efi.o |