]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
ARM: rmobile: Beacon: Remove dead code
authorAdam Ford <aford173@gmail.com>
Mon, 20 Sep 2021 16:14:30 +0000 (11:14 -0500)
committerMarek Vasut <marek.vasut+renesas@gmail.com>
Fri, 29 Oct 2021 19:52:20 +0000 (21:52 +0200)
There are a few do-nothing functions that can be removed.
Remove them.

Signed-off-by: Adam Ford <aford173@gmail.com>
board/beacon/beacon-rzg2m/beacon-rzg2m.c
configs/r8a774a1_beacon_defconfig

index b3521fcbc143c702b43f1dcf1989dd45377f3439..df6044a4297539d04b5589d22afdb4809a908c3e 100644 (file)
 
 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 */
index 2b1057fbc5269345f72170ef468f7e4706fb4a37..acfab77a36ccff1243de9cd8ddaecf0b84c53cfb 100644 (file)
@@ -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