[PATCH v1 04/15] x86: coreboot: Remove dead code

Andy Shevchenko andriy.shevchenko at linux.intel.com
Thu Aug 6 16:54:27 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>
---
 board/coreboot/coreboot/Makefile |  2 +-
 board/coreboot/coreboot/start.S  | 12 ------------
 2 files changed, 1 insertion(+), 13 deletions(-)
 delete mode 100644 board/coreboot/coreboot/start.S

diff --git a/board/coreboot/coreboot/Makefile b/board/coreboot/coreboot/Makefile
index 8db7cc62f309..d292b7032c23 100644
--- a/board/coreboot/coreboot/Makefile
+++ b/board/coreboot/coreboot/Makefile
@@ -10,4 +10,4 @@
 # (C) Copyright 2002
 # Daniel Engström, Omicron Ceti AB, daniel at omicron.se.
 
-obj-y	+= start.o coreboot.o
+obj-y	+= coreboot.o
diff --git a/board/coreboot/coreboot/start.S b/board/coreboot/coreboot/start.S
deleted file mode 100644
index aa702622d48c..000000000000
--- a/board/coreboot/coreboot/start.S
+++ /dev/null
@@ -1,12 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0+ */
-/*
- * Copyright (c) 2011 The Chromium OS Authors.
- * (C) Copyright 2008
- * Graeme Russ, graeme.russ at gmail.com.
- */
-
-/* board early intialization */
-.globl early_board_init
-early_board_init:
-	/* No 32-bit board specific initialisation */
-	jmp	early_board_init_ret
-- 
2.27.0



More information about the U-Boot mailing list