diff mbox series

[v2,06/15] x86: efi: efi-x86_payload: Remove dead code

Message ID 20200820100234.70576-6-andriy.shevchenko@linux.intel.com
State Accepted
Commit 2a2470eba86a05b5674deedc76c254e73a70bc35
Delegated to: Bin Meng
Headers show
Series [v2,01/15] x86: Introduce USE_EARLY_BOARD_INIT option | expand

Commit Message

Andy Shevchenko Aug. 20, 2020, 10:02 a.m. UTC
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@linux.intel.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
---
v2: added Rb tag(s)

 board/efi/efi-x86_payload/Makefile | 2 +-
 board/efi/efi-x86_payload/start.S  | 8 --------
 2 files changed, 1 insertion(+), 9 deletions(-)
 delete mode 100644 board/efi/efi-x86_payload/start.S

Comments

Bin Meng Sept. 1, 2020, 5:34 a.m. UTC | #1
On Thu, Aug 20, 2020 at 6:02 PM Andy Shevchenko
<andriy.shevchenko@linux.intel.com> wrote:
>
> 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@linux.intel.com>
> Reviewed-by: Simon Glass <sjg@chromium.org>
> ---
> v2: added Rb tag(s)
>
>  board/efi/efi-x86_payload/Makefile | 2 +-
>  board/efi/efi-x86_payload/start.S  | 8 --------
>  2 files changed, 1 insertion(+), 9 deletions(-)
>  delete mode 100644 board/efi/efi-x86_payload/start.S
>

Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
diff mbox series

Patch

diff --git a/board/efi/efi-x86_payload/Makefile b/board/efi/efi-x86_payload/Makefile
index 00ef69534d00..a4ebc85aa5b3 100644
--- a/board/efi/efi-x86_payload/Makefile
+++ b/board/efi/efi-x86_payload/Makefile
@@ -2,4 +2,4 @@ 
 #
 # Copyright (C) 2018, Bin Meng <bmeng.cn@gmail.com>
 
-obj-y	+= start.o payload.o
+obj-y	+= payload.o
diff --git a/board/efi/efi-x86_payload/start.S b/board/efi/efi-x86_payload/start.S
deleted file mode 100644
index f7eaa7cb12a9..000000000000
--- a/board/efi/efi-x86_payload/start.S
+++ /dev/null
@@ -1,8 +0,0 @@ 
-/* SPDX-License-Identifier: GPL-2.0+ */
-/*
- * Copyright (C) 2018, Bin Meng <bmeng.cn@gmail.com>
- */
-
-.globl early_board_init
-early_board_init:
-	jmp	early_board_init_ret