[PATCH 160/171] Correct SPL uses of USB_DWC3_MESON_GXL

Neil Armstrong neil.armstrong at linaro.org
Tue Jan 31 09:49:25 CET 2023


Hi,

On 30/01/2023 16:16, Simon Glass wrote:
> This converts 2 usages of this option to the non-SPL form, since there is
> no SPL_USB_DWC3_MESON_GXL defined in Kconfig
> 
> Signed-off-by: Simon Glass <sjg at chromium.org>
> ---
> 
>   arch/arm/mach-meson/board-axg.c | 2 +-
>   arch/arm/mach-meson/board-gx.c  | 2 +-
>   2 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/arch/arm/mach-meson/board-axg.c b/arch/arm/mach-meson/board-axg.c
> index 236ec815799..8bcb0b3a212 100644
> --- a/arch/arm/mach-meson/board-axg.c
> +++ b/arch/arm/mach-meson/board-axg.c
> @@ -91,7 +91,7 @@ static struct mm_region axg_mem_map[] = {
>   
>   struct mm_region *mem_map = axg_mem_map;
>   
> -#if CONFIG_IS_ENABLED(USB_DWC3_MESON_GXL) && \
> +#if IS_ENABLED(CONFIG_USB_DWC3_MESON_GXL) && \
>   	CONFIG_IS_ENABLED(USB_GADGET_DWC2_OTG)
>   static struct dwc2_plat_otg_data meson_gx_dwc2_data;
>   
> diff --git a/arch/arm/mach-meson/board-gx.c b/arch/arm/mach-meson/board-gx.c
> index 01fafd81c48..41f767302ec 100644
> --- a/arch/arm/mach-meson/board-gx.c
> +++ b/arch/arm/mach-meson/board-gx.c
> @@ -109,7 +109,7 @@ static struct mm_region gx_mem_map[] = {
>   
>   struct mm_region *mem_map = gx_mem_map;
>   
> -#if CONFIG_IS_ENABLED(USB_DWC3_MESON_GXL) && \
> +#if IS_ENABLED(CONFIG_USB_DWC3_MESON_GXL) && \
>   	CONFIG_IS_ENABLED(USB_GADGET_DWC2_OTG)
>   static struct dwc2_plat_otg_data meson_gx_dwc2_data;
>   

This code is getting removed in the last PR I sent at https://lore.kernel.org/all/ec3802ba-6e79-5370-e41e-cd2487cd618f@linaro.org/


More information about the U-Boot mailing list