diff mbox series

[103/171] Correct SPL use of IMX8MN_BEACON_2GB_LPDDR

Message ID 20230130151612.212732-104-sjg@chromium.org
State Changes Requested
Delegated to: Tom Rini
Headers show
Series None | expand

Commit Message

Simon Glass Jan. 30, 2023, 3:15 p.m. UTC
This converts 1 usage of this option to the non-SPL form, since there is
no SPL_IMX8MN_BEACON_2GB_LPDDR defined in Kconfig

Signed-off-by: Simon Glass <sjg@chromium.org>
---

 include/configs/imx8mn_beacon.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Adam Ford Jan. 31, 2023, 1:39 a.m. UTC | #1
On Mon, Jan 30, 2023 at 9:17 AM Simon Glass <sjg@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@gmail.com>

> Signed-off-by: Simon Glass <sjg@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
>
diff mbox series

Patch

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 */