riscv: Add EFI application infrastructure
authorAlexander Graf <agraf@suse.de>
Mon, 23 Apr 2018 05:59:45 +0000 (07:59 +0200)
committerAndes <uboot@andestech.com>
Tue, 29 May 2018 06:43:12 +0000 (14:43 +0800)
commit493d1e88b676675e0c2a8614abcba0dcbb9befa4
tree44d9269532c66ff2db4eb46cda276d6415a59219
parent6cc1a2af46c448e7d822fa4976a8d6e10fc5273b
riscv: Add EFI application infrastructure

The hello world binary and a few selftests require to build EFI target
binaries, not just the EFI host environment.

This patch adds all required files to generate an EFI binary for
RISC-V.

Signed-off-by: Alexander Graf <agraf@suse.de>
arch/riscv/config.mk
arch/riscv/lib/Makefile
arch/riscv/lib/crt0_riscv_efi.S [new file with mode: 0644]
arch/riscv/lib/elf_riscv32_efi.lds [new file with mode: 0644]
arch/riscv/lib/elf_riscv64_efi.lds [new file with mode: 0644]
arch/riscv/lib/reloc_riscv_efi.c [new file with mode: 0644]