[PATCH v1 05/15] x86: dfi: dfi-bt700: Remove dead code

Stefan Roese sr at denx.de
Thu Aug 6 17:05:42 CEST 2020


On 06.08.20 16:54, Andy Shevchenko 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.
> 
> Cc: Stefan Roese <sr at denx.de>
> Signed-off-by: Andy Shevchenko <andriy.shevchenko at linux.intel.com>

Reviewed-by: Stefan Roese <sr at denx.de>

Thanks,
Stefan

> ---
>   board/dfi/dfi-bt700/Makefile | 2 +-
>   board/dfi/dfi-bt700/start.S  | 8 --------
>   2 files changed, 1 insertion(+), 9 deletions(-)
>   delete mode 100644 board/dfi/dfi-bt700/start.S
> 
> diff --git a/board/dfi/dfi-bt700/Makefile b/board/dfi/dfi-bt700/Makefile
> index 99cf357b701f..50d88f295458 100644
> --- a/board/dfi/dfi-bt700/Makefile
> +++ b/board/dfi/dfi-bt700/Makefile
> @@ -2,5 +2,5 @@
>   #
>   # Copyright (C) 2015, Google, Inc
>   
> -obj-y	+= dfi-bt700.o start.o
> +obj-y	+= dfi-bt700.o
>   obj-$(CONFIG_GENERATE_ACPI_TABLE) += dsdt.o
> diff --git a/board/dfi/dfi-bt700/start.S b/board/dfi/dfi-bt700/start.S
> deleted file mode 100644
> index 65d1f7e96150..000000000000
> --- a/board/dfi/dfi-bt700/start.S
> +++ /dev/null
> @@ -1,8 +0,0 @@
> -/* SPDX-License-Identifier: GPL-2.0+ */
> -/*
> - * Copyright (C) 2015, Google, Inc
> - */
> -
> -.globl early_board_init
> -early_board_init:
> -	jmp	early_board_init_ret
> 


Viele Grüße,
Stefan

-- 
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-51 Fax: (+49)-8142-66989-80 Email: sr at denx.de


More information about the U-Boot mailing list