[PATCH 103/171] Correct SPL use of IMX8MN_BEACON_2GB_LPDDR

Adam Ford aford173 at gmail.com
Tue Jan 31 02:39:02 CET 2023


On Mon, Jan 30, 2023 at 9:17 AM Simon Glass <sjg at chromium.org> wrote:
>
> This converts 1 usage of this option to the non-SPL form, since there is
> no SPL_IMX8MN_BEACON_2GB_LPDDR defined in Kconfig
>

Reviewed-by: Adam Ford <aford173 at gmail.com>

> Signed-off-by: Simon Glass <sjg at chromium.org>
> ---
>
>  include/configs/imx8mn_beacon.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/include/configs/imx8mn_beacon.h b/include/configs/imx8mn_beacon.h
> index bb3dfe3fa0d..1880d0311e4 100644
> --- a/include/configs/imx8mn_beacon.h
> +++ b/include/configs/imx8mn_beacon.h
> @@ -80,7 +80,7 @@
>
>  #define CFG_SYS_SDRAM_BASE             0x40000000
>  #define PHYS_SDRAM                     0x40000000
> -#if CONFIG_IS_ENABLED(IMX8MN_BEACON_2GB_LPDDR)
> +#if IS_ENABLED(CONFIG_IMX8MN_BEACON_2GB_LPDDR)
>  #define PHYS_SDRAM_SIZE                0x80000000 /* 2GB DDR */
>  #else
>  #define PHYS_SDRAM_SIZE                0x40000000 /* 1GB DDR */
> --
> 2.39.1.456.gfc5497dd1b-goog
>


More information about the U-Boot mailing list