summaryrefslogtreecommitdiff
path: root/arch/x86/cpu/efi/car.S
diff options
context:
space:
mode:
authorBin Meng <bmeng.cn@gmail.com>2018-06-12 08:36:16 -0700
committerBin Meng <bmeng.cn@gmail.com>2018-06-17 21:16:04 +0800
commit4f1dacd43fcb5d4e97407df51b48dfde5e920078 (patch)
tree9a28f291189c0c8ee539590bc31b5bc5895f89c3 /arch/x86/cpu/efi/car.S
parent9efeb3f4db9479c0179283c1c221725948b155fc (diff)
x86: efi: Refactor the directory of EFI app and payload support
At present the EFI application and payload support codes in the x86 directory is distributed in a hybrid way. For example, the Kconfig options for both app and payload are in arch/x86/lib/efi/Kconfig, but the source codes in the same directory get built only for CONFIG_EFI_STUB. This refactors the codes by consolidating all the EFI support codes into arch/x86/cpu/efi, just like other x86 targets. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/x86/cpu/efi/car.S')
-rw-r--r--arch/x86/cpu/efi/car.S9
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/x86/cpu/efi/car.S b/arch/x86/cpu/efi/car.S
new file mode 100644
index 0000000000..488dcde66c
--- /dev/null
+++ b/arch/x86/cpu/efi/car.S
@@ -0,0 +1,9 @@
+/* SPDX-License-Identifier: GPL-2.0+ */
+/*
+ * Copyright (c) 2015 Google, Inc
+ * Written by Simon Glass <sjg@chromium.org>
+ */
+
+.globl car_init
+car_init:
+ jmp car_init_ret