From: Josep Orga Date: Thu, 2 Sep 2021 14:40:55 +0000 (+0200) Subject: imx8mm-somdevices: Change memory size from 2GB to 1GB. X-Git-Tag: rel_imx_5.10.35_2.0.0-somdevices.0~42 X-Git-Url: https://git.somdevices.com/?a=commitdiff_plain;h=e67c63a753e59ca305994cb1d835a9ed4027c44b;p=u-boot.git imx8mm-somdevices: Change memory size from 2GB to 1GB. Signed-off-by: Josep Orga --- diff --git a/arch/arm/dts/imx8mm-somdevices.dts b/arch/arm/dts/imx8mm-somdevices.dts index 84206a8965..d2f35de200 100644 --- a/arch/arm/dts/imx8mm-somdevices.dts +++ b/arch/arm/dts/imx8mm-somdevices.dts @@ -22,7 +22,7 @@ memory@40000000 { device_type = "memory"; - reg = <0x0 0x40000000 0 0x80000000>; + reg = <0x0 0x40000000 0 0x40000000>; }; leds { diff --git a/include/configs/imx8mm_somdevices.h b/include/configs/imx8mm_somdevices.h index 28ba6b8d95..eabc6ff63e 100644 --- a/include/configs/imx8mm_somdevices.h +++ b/include/configs/imx8mm_somdevices.h @@ -204,7 +204,7 @@ #define CONFIG_SYS_LOAD_ADDR CONFIG_LOADADDR #define CONFIG_SYS_INIT_RAM_ADDR 0x40000000 -#define CONFIG_SYS_INIT_RAM_SIZE 0x200000 +#define CONFIG_SYS_INIT_RAM_SIZE 0x100000 #define CONFIG_SYS_INIT_SP_OFFSET \ (CONFIG_SYS_INIT_RAM_SIZE - GENERATED_GBL_DATA_SIZE) #define CONFIG_SYS_INIT_SP_ADDR \ @@ -224,7 +224,7 @@ #define CONFIG_SYS_SDRAM_BASE 0x40000000 #define PHYS_SDRAM 0x40000000 -#define PHYS_SDRAM_SIZE 0x80000000 /* 2GB DDR */ +#define PHYS_SDRAM_SIZE 0x40000000 /* 1GB DDR */ #define CONFIG_MXC_UART_BASE UART2_BASE_ADDR