From: Josep Orga Date: Thu, 31 Aug 2023 10:52:53 +0000 (+0200) Subject: imx8mp-somdevices: Change memory size from 6GB to 2GB. X-Git-Tag: rel_imx_5.10.35_2.0.0-somdevices.2~16 X-Git-Url: https://git.somdevices.com/?a=commitdiff_plain;h=c83196d36bcf97e06649ee327084d96141612cb1;p=u-boot.git imx8mp-somdevices: Change memory size from 6GB to 2GB. Signed-off-by: Josep Orga --- diff --git a/arch/arm/dts/imx8mp-somdevices.dts b/arch/arm/dts/imx8mp-somdevices.dts index ea0e613ce6..a357de1493 100644 --- a/arch/arm/dts/imx8mp-somdevices.dts +++ b/arch/arm/dts/imx8mp-somdevices.dts @@ -31,8 +31,7 @@ memory@40000000 { device_type = "memory"; - reg = <0x0 0x40000000 0 0xc0000000>, - <0x1 0x00000000 0 0xc0000000>; + reg = <0x0 0x40000000 0 0x80000000>; }; reg_can1_stby: regulator-can1-stby { diff --git a/include/configs/imx8mp_somdevices.h b/include/configs/imx8mp_somdevices.h index be4e948f60..42d57fcc1a 100644 --- a/include/configs/imx8mp_somdevices.h +++ b/include/configs/imx8mp_somdevices.h @@ -209,16 +209,10 @@ /* Size of malloc() pool */ #define CONFIG_SYS_MALLOC_LEN SZ_32M -/* Totally 6GB DDR */ +/* Totally 2GB DDR */ #define CONFIG_SYS_SDRAM_BASE 0x40000000 #define PHYS_SDRAM 0x40000000 -#define PHYS_SDRAM_SIZE 0xC0000000 /* 3 GB */ -#define PHYS_SDRAM_2 0x100000000 -#ifdef CONFIG_TARGET_IMX8MP_DDR4_SOMDEVICES -#define PHYS_SDRAM_2_SIZE 0x40000000 /* 1 GB */ -#else -#define PHYS_SDRAM_2_SIZE 0xC0000000 /* 3 GB */ -#endif +#define PHYS_SDRAM_SIZE 0x80000000 /* 2 GB */ #define CONFIG_MXC_UART_BASE UART2_BASE_ADDR