[U-Boot] [PATCH 2/5] board: fsl: ls2080a/ls2081a: remove empty arch_misc_init

Alexandru Marginean alexandru.marginean at nxp.com
Tue Dec 3 11:53:48 CET 2019


On 12/3/2019 11:46 AM, Alex Marginean wrote:
> The arch_misc_init function is emtpy on LS2 SoCs/boards, remove it.

s/emtpy/empty/

> 
> Signed-off-by: Alex Marginean <alexandru.marginean at nxp.com>
> ---
>   arch/arm/Kconfig                        | 5 -----
>   board/freescale/ls2080a/ls2080a.c       | 7 -------
>   board/freescale/ls2080aqds/ls2080aqds.c | 7 -------
>   board/freescale/ls2080ardb/ls2080ardb.c | 7 -------
>   4 files changed, 26 deletions(-)
> 
> diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
> index 3a3d77b04f..459876b543 100644
> --- a/arch/arm/Kconfig
> +++ b/arch/arm/Kconfig
> @@ -1096,7 +1096,6 @@ config TARGET_VEXPRESS64_JUNO
>   config TARGET_LS2080A_EMU
>   	bool "Support ls2080a_emu"
>   	select ARCH_LS2080A
> -	select ARCH_MISC_INIT
>   	select ARM64
>   	select ARMV8_MULTIENTRY
>   	select FSL_DDR_SYNC_REFRESH
> @@ -1109,7 +1108,6 @@ config TARGET_LS2080A_EMU
>   config TARGET_LS2080A_SIMU
>   	bool "Support ls2080a_simu"
>   	select ARCH_LS2080A
> -	select ARCH_MISC_INIT
>   	select ARM64
>   	select ARMV8_MULTIENTRY
>   	select BOARD_LATE_INIT
> @@ -1138,7 +1136,6 @@ config TARGET_LS1088AQDS
>   config TARGET_LS2080AQDS
>   	bool "Support ls2080aqds"
>   	select ARCH_LS2080A
> -	select ARCH_MISC_INIT
>   	select ARM64
>   	select ARMV8_MULTIENTRY
>   	select ARCH_SUPPORT_TFABOOT
> @@ -1157,7 +1154,6 @@ config TARGET_LS2080AQDS
>   config TARGET_LS2080ARDB
>   	bool "Support ls2080ardb"
>   	select ARCH_LS2080A
> -	select ARCH_MISC_INIT
>   	select ARM64
>   	select ARMV8_MULTIENTRY
>   	select ARCH_SUPPORT_TFABOOT
> @@ -1176,7 +1172,6 @@ config TARGET_LS2080ARDB
>   config TARGET_LS2081ARDB
>   	bool "Support ls2081ardb"
>   	select ARCH_LS2080A
> -	select ARCH_MISC_INIT
>   	select ARM64
>   	select ARMV8_MULTIENTRY
>   	select BOARD_LATE_INIT
> diff --git a/board/freescale/ls2080a/ls2080a.c b/board/freescale/ls2080a/ls2080a.c
> index 413a698511..bc68f99625 100644
> --- a/board/freescale/ls2080a/ls2080a.c
> +++ b/board/freescale/ls2080a/ls2080a.c
> @@ -48,13 +48,6 @@ void detail_board_ddr_info(void)
>   #endif
>   }
>   
> -#if defined(CONFIG_ARCH_MISC_INIT)
> -int arch_misc_init(void)
> -{
> -	return 0;
> -}
> -#endif
> -
>   int board_eth_init(bd_t *bis)
>   {
>   	int error = 0;
> diff --git a/board/freescale/ls2080aqds/ls2080aqds.c b/board/freescale/ls2080aqds/ls2080aqds.c
> index 25e80c8ac6..fce433461a 100644
> --- a/board/freescale/ls2080aqds/ls2080aqds.c
> +++ b/board/freescale/ls2080aqds/ls2080aqds.c
> @@ -289,13 +289,6 @@ void detail_board_ddr_info(void)
>   #endif
>   }
>   
> -#if defined(CONFIG_ARCH_MISC_INIT)
> -int arch_misc_init(void)
> -{
> -	return 0;
> -}
> -#endif
> -
>   #if defined(CONFIG_FSL_MC_ENET) && !defined(CONFIG_SPL_BUILD)
>   void fdt_fixup_board_enet(void *fdt)
>   {
> diff --git a/board/freescale/ls2080ardb/ls2080ardb.c b/board/freescale/ls2080ardb/ls2080ardb.c
> index 6a1b8e3f53..282aaf47fb 100644
> --- a/board/freescale/ls2080ardb/ls2080ardb.c
> +++ b/board/freescale/ls2080ardb/ls2080ardb.c
> @@ -318,13 +318,6 @@ void detail_board_ddr_info(void)
>   #endif
>   }
>   
> -#if defined(CONFIG_ARCH_MISC_INIT)
> -int arch_misc_init(void)
> -{
> -	return 0;
> -}
> -#endif
> -
>   #ifdef CONFIG_FSL_MC_ENET
>   void fdt_fixup_board_enet(void *fdt)
>   {
> 


More information about the U-Boot mailing list