[PATCH 08/13] mvebu: Drop empty arch_misc_init
Stefan Roese
sr at denx.de
Thu Feb 16 07:31:43 CET 2023
On 2/16/23 04:36, Tom Rini wrote:
> If this hooks is needed later, it should be added and populated for
> real.
>
> Cc: Stefan Roese <sr at denx.de>
> Signed-off-by: Tom Rini <trini at konsulko.com>
Reviewed-by: Stefan Roese <sr at denx.de>
Thanks,
Stefan
> ---
> arch/arm/mach-mvebu/Kconfig | 1 -
> arch/arm/mach-mvebu/cpu.c | 11 -----------
> 2 files changed, 12 deletions(-)
>
> diff --git a/arch/arm/mach-mvebu/Kconfig b/arch/arm/mach-mvebu/Kconfig
> index 16c5e7229550..6a8bf39f86b1 100644
> --- a/arch/arm/mach-mvebu/Kconfig
> +++ b/arch/arm/mach-mvebu/Kconfig
> @@ -5,7 +5,6 @@ config HAVE_MVEBU_EFUSE
>
> config ARMADA_32BIT
> bool
> - select ARCH_MISC_INIT
> select BOARD_EARLY_INIT_F
> select CPU_V7A
> select SPL_DM if SPL
> diff --git a/arch/arm/mach-mvebu/cpu.c b/arch/arm/mach-mvebu/cpu.c
> index 329d13691f0e..1d14e2eca596 100644
> --- a/arch/arm/mach-mvebu/cpu.c
> +++ b/arch/arm/mach-mvebu/cpu.c
> @@ -514,17 +514,6 @@ u32 mvebu_get_nand_clock(void)
> NAND_ECC_DIVCKL_RATIO_MASK) >> NAND_ECC_DIVCKL_RATIO_OFFS);
> }
>
> -/*
> - * SOC specific misc init
> - */
> -#if defined(CONFIG_ARCH_MISC_INIT)
> -int arch_misc_init(void)
> -{
> - /* Nothing yet, perhaps we need something here later */
> - return 0;
> -}
> -#endif /* CONFIG_ARCH_MISC_INIT */
> -
> #if defined(CONFIG_MMC_SDHCI_MV) && !defined(CONFIG_DM_MMC)
> int board_mmc_init(struct bd_info *bis)
> {
Viele Grüße,
Stefan Roese
--
DENX Software Engineering GmbH, Managing Director: Erika Unter
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