[1/1] configs: imx8mp_evk: revert to old ram settings

Message ID 20221128114531.2172237-2-abbaraju.manojsai@amarulasolutions.com
State New
Headers show
Series
  • configs: imx8mp_evk: revert to old ram settings
Related show

Commit Message

Manoj Sai Nov. 28, 2022, 11:45 a.m. UTC
The 'commit 864ac2cf383e ("board: imx8mp: Add Engicam
i.Core MX8M Plus EDIMM2.2 Starter Kit")' has changed the imx8mp evk ram
settings from 6GB ram to 2GB.

This changeset reverts the above change.

Signed-off-by: Manoj Sai <abbaraju.manojsai@amarulasolutions.com>
Reported-by  : Peter Bergin <peter@berginkonsult.se>
---
 include/configs/imx8mp_evk.h | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

Comments

Peng Fan Dec. 1, 2022, 12:53 a.m. UTC | #1
On 11/28/2022 7:45 PM, Manoj Sai wrote:
> The 'commit 864ac2cf383e ("board: imx8mp: Add Engicam
> i.Core MX8M Plus EDIMM2.2 Starter Kit")' has changed the imx8mp evk ram
> settings from 6GB ram to 2GB.
> 
> This changeset reverts the above change.
> 
> Signed-off-by: Manoj Sai <abbaraju.manojsai@amarulasolutions.com>
> Reported-by  : Peter Bergin <peter@berginkonsult.se>

Reviewed-by: Peng Fan <peng.fan@nxp.com>

> ---
>   include/configs/imx8mp_evk.h | 6 ++++--
>   1 file changed, 4 insertions(+), 2 deletions(-)
> 
> diff --git a/include/configs/imx8mp_evk.h b/include/configs/imx8mp_evk.h
> index 1b533e2c14..d8db83cad8 100644
> --- a/include/configs/imx8mp_evk.h
> +++ b/include/configs/imx8mp_evk.h
> @@ -54,9 +54,11 @@
>   #define CONFIG_SYS_INIT_RAM_SIZE	0x80000
>   
>   
> -/* Totally 2GB DDR */
> +/* Totally 6GB DDR */
>   #define CONFIG_SYS_SDRAM_BASE		0x40000000
>   #define PHYS_SDRAM			0x40000000
> -#define PHYS_SDRAM_SIZE			0x80000000
> +#define PHYS_SDRAM_SIZE			0xC0000000	/* 3 GB */
> +#define PHYS_SDRAM_2			0x100000000
> +#define PHYS_SDRAM_2_SIZE		0xC0000000	/* 3 GB */
>   
>   #endif
Fabio Estevam Dec. 1, 2022, 12:55 a.m. UTC | #2
On Mon, Nov 28, 2022 at 8:45 AM Manoj Sai
<abbaraju.manojsai@amarulasolutions.com> wrote:
>
> The 'commit 864ac2cf383e ("board: imx8mp: Add Engicam
> i.Core MX8M Plus EDIMM2.2 Starter Kit")' has changed the imx8mp evk ram
> settings from 6GB ram to 2GB.
>
> This changeset reverts the above change.
>
> Signed-off-by: Manoj Sai <abbaraju.manojsai@amarulasolutions.com>
> Reported-by  : Peter Bergin <peter@berginkonsult.se>

Reviewed-by: Fabio Estevam <festevam@denx.de>

Stefano, please queue this one for 2023.01.

Thanks

Patch

diff --git a/include/configs/imx8mp_evk.h b/include/configs/imx8mp_evk.h
index 1b533e2c14..d8db83cad8 100644
--- a/include/configs/imx8mp_evk.h
+++ b/include/configs/imx8mp_evk.h
@@ -54,9 +54,11 @@ 
 #define CONFIG_SYS_INIT_RAM_SIZE	0x80000
 
 
-/* Totally 2GB DDR */
+/* Totally 6GB DDR */
 #define CONFIG_SYS_SDRAM_BASE		0x40000000
 #define PHYS_SDRAM			0x40000000
-#define PHYS_SDRAM_SIZE			0x80000000
+#define PHYS_SDRAM_SIZE			0xC0000000	/* 3 GB */
+#define PHYS_SDRAM_2			0x100000000
+#define PHYS_SDRAM_2_SIZE		0xC0000000	/* 3 GB */
 
 #endif