summaryrefslogtreecommitdiff
path: root/arch/x86/lib/efi/car.S
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2015-08-04 12:34:01 -0600
committerSimon Glass <sjg@chromium.org>2015-08-05 08:44:08 -0600
commit8e3665087559092ef7fba861e65f633060896ede (patch)
tree8b1da29a4fa5b63f87ab4c7c81af140179fc5006 /arch/x86/lib/efi/car.S
parente49cceac61a0f56beff466f844fb9b3451d564eb (diff)
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>
Diffstat (limited to 'arch/x86/lib/efi/car.S')
-rw-r--r--arch/x86/lib/efi/car.S10
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/x86/lib/efi/car.S b/arch/x86/lib/efi/car.S
new file mode 100644
index 0000000000..613af9ac8a
--- /dev/null
+++ b/arch/x86/lib/efi/car.S
@@ -0,0 +1,10 @@
+/*
+ * Copyright (c) 2015 Google, Inc
+ * Written by Simon Glass <sjg@chromium.org>
+ *
+ * SPDX-License-Identifier: GPL-2.0+
+ */
+
+.globl car_init
+car_init:
+ jmp car_init_ret