]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
x86: Add helper code for running from EFI
authorSimon Glass <sjg@chromium.org>
Tue, 4 Aug 2015 18:34:01 +0000 (12:34 -0600)
committerLothar Waßmann <LW@KARO-electronics.de>
Thu, 10 Sep 2015 06:00:56 +0000 (08:00 +0200)
commit5dc074a1b6d2a2f29c0e83eb648aa1ec4dc098e5
tree0c71f8f5d723c65eb810774dd373610880cb2a2e
parentba12fabeba81652e837ffa93d611cf783ebe3873
x86: Add helper code for running from EFI

When U-Boot is running from EFI some of the x86 init is replaced with
EFI-specific init. For example, since DRAM has already been set up, we only
need to find it, not init it. Add these functions so that boards can easily
allow booting from EFI if required.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
arch/x86/lib/Makefile
arch/x86/lib/efi/Makefile
arch/x86/lib/efi/car.S [new file with mode: 0644]
arch/x86/lib/efi/efi.c [new file with mode: 0644]