diff options
author | Silvano di Ninno <silvano.dininno@nxp.com> | 2018-11-22 03:01:50 +0100 |
---|---|---|
committer | Ye Li <ye.li@nxp.com> | 2018-11-22 17:36:26 -0800 |
commit | 53e60095df8e6be963dd9e6a89a2b59b7bfabab6 (patch) | |
tree | 8ad6bb58129f7143dd39f3a9a60fa3b8682be9be /include | |
parent | a40784744a5054c5863e853861141abeeca922ae (diff) |
TEE-330: i.MX8QM: OP-TEE: increase number of DRAM BANKS
When OP-TEE is enabled a share memory is created between Linux and OP-TEE.
On i.MX 8QM with the use of the SC subsystem, this creates a new chunk of
memory.
Add a new DRAM BANK, so that u-boot is able to capture correctly all
the chunks of memory in meminfo.
Signed-off-by: Silvano di Ninno <silvano.dininno@nxp.com>
(cherry picked from commit c89c493cd8657f5d520647c3a9a61861b3f267e0)
Diffstat (limited to 'include')
-rw-r--r-- | include/configs/imx8qm_arm2.h | 2 | ||||
-rw-r--r-- | include/configs/imx8qm_mek.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/configs/imx8qm_arm2.h b/include/configs/imx8qm_arm2.h index b0fe2078f94..451f9e3dfa8 100644 --- a/include/configs/imx8qm_arm2.h +++ b/include/configs/imx8qm_arm2.h @@ -354,7 +354,7 @@ #define CONFIG_SYS_MALLOC_LEN ((CONFIG_ENV_SIZE + (32*1024)) * 1024) #define CONFIG_SYS_SDRAM_BASE 0x80000000 -#define CONFIG_NR_DRAM_BANKS 3 +#define CONFIG_NR_DRAM_BANKS 4 #define PHYS_SDRAM_1 0x80000000 #define PHYS_SDRAM_2 0x880000000 #define PHYS_SDRAM_1_SIZE 0x80000000 /* 2 GB */ diff --git a/include/configs/imx8qm_mek.h b/include/configs/imx8qm_mek.h index 61662433a67..29b0a7e621d 100644 --- a/include/configs/imx8qm_mek.h +++ b/include/configs/imx8qm_mek.h @@ -352,7 +352,7 @@ #define CONFIG_SYS_MALLOC_LEN ((CONFIG_ENV_SIZE + (32*1024)) * 1024) #define CONFIG_SYS_SDRAM_BASE 0x80000000 -#define CONFIG_NR_DRAM_BANKS 3 +#define CONFIG_NR_DRAM_BANKS 4 #define PHYS_SDRAM_1 0x80000000 #define PHYS_SDRAM_2 0x880000000 #define PHYS_SDRAM_1_SIZE 0x80000000 /* 2 GB */ |