[PATCH v2 15/15] x86: qemu: Remove dead code

Andy Shevchenko andriy.shevchenko at linux.intel.com
Thu Aug 20 12:02:34 CEST 2020


start.S does nothing and can be safely removed. Makefile is still being used
by the build system, so simply drop the rule from it.

Signed-off-by: Andy Shevchenko <andriy.shevchenko at linux.intel.com>
Reviewed-by: Simon Glass <sjg at chromium.org>
---
v2: added Rb tag(s)

 board/emulation/qemu-x86/Makefile | 2 --
 board/emulation/qemu-x86/start.S  | 8 --------
 2 files changed, 10 deletions(-)
 delete mode 100644 board/emulation/qemu-x86/start.S

diff --git a/board/emulation/qemu-x86/Makefile b/board/emulation/qemu-x86/Makefile
index 782e298b74ce..5af8d31d5840 100644
--- a/board/emulation/qemu-x86/Makefile
+++ b/board/emulation/qemu-x86/Makefile
@@ -1,5 +1,3 @@
 # SPDX-License-Identifier: GPL-2.0+
 #
 # Copyright (C) 2015, Bin Meng <bmeng.cn at gmail.com>
-
-obj-y	+= start.o
diff --git a/board/emulation/qemu-x86/start.S b/board/emulation/qemu-x86/start.S
deleted file mode 100644
index e4bde561b20d..000000000000
--- 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 at gmail.com>
- */
-
-.globl early_board_init
-early_board_init:
-	jmp	early_board_init_ret
-- 
2.28.0



More information about the U-Boot mailing list