From 365a581c1cbbb43c1d8da49d5bfd134530c1a621 Mon Sep 17 00:00:00 2001 From: Andy Shevchenko Date: Tue, 1 Sep 2020 11:33:52 +0300 Subject: [PATCH] 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 Reviewed-by: Simon Glass Reviewed-by: Bin Meng --- board/emulation/qemu-x86/Makefile | 2 +- board/emulation/qemu-x86/qemu-x86.c | 0 board/emulation/qemu-x86/start.S | 8 -------- 3 files changed, 1 insertion(+), 9 deletions(-) create mode 100644 board/emulation/qemu-x86/qemu-x86.c delete mode 100644 board/emulation/qemu-x86/start.S 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 -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 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 - */ - -.globl early_board_init -early_board_init: - jmp early_board_init_ret -- 2.39.5