summaryrefslogtreecommitdiff
path: root/board/emulation
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2020-09-01 11:33:52 +0300
committerBin Meng <bmeng.cn@gmail.com>2020-09-01 17:00:27 +0800
commit365a581c1cbbb43c1d8da49d5bfd134530c1a621 (patch)
treea55389299b7fe2dd38c28c8f25a2b4a1d2c53984 /board/emulation
parentc2addf9fc171de55d99fcccd7e5622894f74fe18 (diff)
downloadu-boot-365a581c1cbbb43c1d8da49d5bfd134530c1a621.tar.gz
x86: qemu: Remove dead code
start.S does nothing and can be safely removed. Makefile is still being used by the build system, so simply replace the rule in it. We use stub C-file like it's done for other boards. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'board/emulation')
-rw-r--r--board/emulation/qemu-x86/Makefile2
-rw-r--r--board/emulation/qemu-x86/qemu-x86.c0
-rw-r--r--board/emulation/qemu-x86/start.S8
3 files changed, 1 insertions, 9 deletions
diff --git a/board/emulation/qemu-x86/Makefile b/board/emulation/qemu-x86/Makefile
index 782e298b74..ff4aaa51c5 100644
--- a/board/emulation/qemu-x86/Makefile
+++ b/board/emulation/qemu-x86/Makefile
@@ -2,4 +2,4 @@
#
# Copyright (C) 2015, Bin Meng <bmeng.cn@gmail.com>
-obj-y += start.o
+obj-y += qemu-x86.o
diff --git a/board/emulation/qemu-x86/qemu-x86.c b/board/emulation/qemu-x86/qemu-x86.c
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/board/emulation/qemu-x86/qemu-x86.c
diff --git a/board/emulation/qemu-x86/start.S b/board/emulation/qemu-x86/start.S
deleted file mode 100644
index e4bde561b2..0000000000
--- a/board/emulation/qemu-x86/start.S
+++ /dev/null
@@ -1,8 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0+ */
-/*
- * Copyright (C) 2015, Bin Meng <bmeng.cn@gmail.com>
- */
-
-.globl early_board_init
-early_board_init:
- jmp early_board_init_ret