]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
s5p: Remove empty arch_misc_init
authorTom Rini <trini@konsulko.com>
Thu, 16 Feb 2023 03:36:55 +0000 (22:36 -0500)
committerTom Rini <trini@konsulko.com>
Thu, 2 Mar 2023 20:32:25 +0000 (15:32 -0500)
We don't need to provide an empty arch_misc_init function here, we can
just not enable the hook.

Cc: Stefan Bosch <stefan_b@posteo.net>
Signed-off-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Minkyu Kang <mk7.kang@samsung.com>
arch/arm/cpu/armv7/s5p4418/cpu.c
configs/s5p4418_nanopi2_defconfig

index fcaafc0ff76f5f8a6d8e593aaa82800be613406d..8febfe5276696132929b3d53c769f5741f66ba03 100644 (file)
@@ -84,10 +84,3 @@ void enable_caches(void)
        /* Enable D-cache. I-cache is already enabled in start.S */
        dcache_enable();
 }
-
-#if defined(CONFIG_ARCH_MISC_INIT)
-int arch_misc_init(void)
-{
-       return 0;
-}
-#endif /* CONFIG_ARCH_MISC_INIT */
index 12688e16670cedacdc654faa07611edb2da30dae..5356161ff0d278fc5a94222353eaeff26b712382 100644 (file)
@@ -29,7 +29,6 @@ CONFIG_FIT_BEST_MATCH=y
 CONFIG_SUPPORT_RAW_INITRD=y
 CONFIG_OF_BOARD_SETUP=y
 CONFIG_BOOTDELAY=1
-CONFIG_ARCH_MISC_INIT=y
 CONFIG_BOARD_LATE_INIT=y
 CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PBSIZE=1050