From: Adam Ford Date: Mon, 20 Sep 2021 16:14:30 +0000 (-0500) Subject: ARM: rmobile: Beacon: Remove dead code X-Git-Url: http://git.dujemihanovic.xyz/login.html?a=commitdiff_plain;h=8e8fb50a93febd944e8943d752a6d9b065d45fcd;p=u-boot.git ARM: rmobile: Beacon: Remove dead code There are a few do-nothing functions that can be removed. Remove them. Signed-off-by: Adam Ford --- diff --git a/board/beacon/beacon-rzg2m/beacon-rzg2m.c b/board/beacon/beacon-rzg2m/beacon-rzg2m.c index b3521fcbc1..df6044a429 100644 --- a/board/beacon/beacon-rzg2m/beacon-rzg2m.c +++ b/board/beacon/beacon-rzg2m/beacon-rzg2m.c @@ -10,16 +10,6 @@ DECLARE_GLOBAL_DATA_PTR; -void s_init(void) -{ -} - -/* Kconfig forces this on, so just return 0 */ -int board_early_init_f(void) -{ - return 0; -} - int board_init(void) { /* address of boot parameters */ diff --git a/configs/r8a774a1_beacon_defconfig b/configs/r8a774a1_beacon_defconfig index 2b1057fbc5..acfab77a36 100644 --- a/configs/r8a774a1_beacon_defconfig +++ b/configs/r8a774a1_beacon_defconfig @@ -15,6 +15,7 @@ CONFIG_FIT=y CONFIG_SUPPORT_RAW_INITRD=y # CONFIG_ARCH_FIXUP_FDT_MEMORY is not set CONFIG_DEFAULT_FDT_FILE="r8a774a1-beacon-rzg2m-kit.dtb" +# CONFIG_BOARD_EARLY_INIT_F is not set CONFIG_HUSH_PARSER=y CONFIG_CMD_BOOTZ=y CONFIG_CMD_GPIO=y