
On 4 August 2015 at 12:34, Simon Glass sjg@chromium.org wrote:
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
Changes in v3: None Changes in v2:
- Drop unnecessary .section .text
arch/x86/lib/Makefile | 1 + arch/x86/lib/efi/Makefile | 3 + arch/x86/lib/efi/car.S | 10 +++ arch/x86/lib/efi/efi.c | 151 ++++++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 165 insertions(+) create mode 100644 arch/x86/lib/efi/car.S create mode 100644 arch/x86/lib/efi/efi.c
Applied to u-boot-x86.