imx9: Remove ARCH_MISC_INIT
authorTom Rini <trini@konsulko.com>
Thu, 16 Feb 2023 03:36:52 +0000 (22:36 -0500)
committerTom Rini <trini@konsulko.com>
Thu, 2 Mar 2023 20:32:25 +0000 (15:32 -0500)
We don't need an empty function, we can just not enable the hook we
don't use.

Cc: Peng Fan <peng.fan@nxp.com>
Signed-off-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
arch/arm/mach-imx/imx9/soc.c
configs/imx93_11x11_evk_defconfig

index 797d7a8..a16e22e 100644 (file)
@@ -208,11 +208,6 @@ int print_cpuinfo(void)
        return 0;
 }
 
-int arch_misc_init(void)
-{
-       return 0;
-}
-
 int ft_system_setup(void *blob, struct bd_info *bd)
 {
        return 0;
index 477fb25..93c478c 100644 (file)
@@ -26,7 +26,6 @@ CONFIG_DISTRO_DEFAULTS=y
 CONFIG_REMAKE_ELF=y
 CONFIG_SYS_MONITOR_LEN=524288
 CONFIG_DEFAULT_FDT_FILE="imx93-11x11-evk.dtb"
-CONFIG_ARCH_MISC_INIT=y
 CONFIG_BOARD_EARLY_INIT_F=y
 CONFIG_BOARD_LATE_INIT=y
 CONFIG_SPL_MAX_SIZE=0x26000