x86: qemu: Remove dead code
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 1 Sep 2020 08:33:52 +0000 (11:33 +0300)
committerBin Meng <bmeng.cn@gmail.com>
Tue, 1 Sep 2020 09:00:27 +0000 (17:00 +0800)
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>
board/emulation/qemu-x86/Makefile
board/emulation/qemu-x86/qemu-x86.c [new file with mode: 0644]
board/emulation/qemu-x86/start.S [deleted file]

index 782e298..ff4aaa5 100644 (file)
@@ -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 (file)
index 0000000..e69de29
diff --git a/board/emulation/qemu-x86/start.S b/board/emulation/qemu-x86/start.S
deleted file mode 100644 (file)
index e4bde56..0000000
+++ /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