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 c89c493cd8)
This commit is contained in:
Silvano di Ninno 2018-11-22 03:01:50 +01:00 committed by Ye Li
parent a40784744a
commit 53e60095df
2 changed files with 2 additions and 2 deletions

View File

@ -354,7 +354,7 @@
#define CONFIG_SYS_MALLOC_LEN ((CONFIG_ENV_SIZE + (32*1024)) * 1024) #define CONFIG_SYS_MALLOC_LEN ((CONFIG_ENV_SIZE + (32*1024)) * 1024)
#define CONFIG_SYS_SDRAM_BASE 0x80000000 #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_1 0x80000000
#define PHYS_SDRAM_2 0x880000000 #define PHYS_SDRAM_2 0x880000000
#define PHYS_SDRAM_1_SIZE 0x80000000 /* 2 GB */ #define PHYS_SDRAM_1_SIZE 0x80000000 /* 2 GB */

View File

@ -352,7 +352,7 @@
#define CONFIG_SYS_MALLOC_LEN ((CONFIG_ENV_SIZE + (32*1024)) * 1024) #define CONFIG_SYS_MALLOC_LEN ((CONFIG_ENV_SIZE + (32*1024)) * 1024)
#define CONFIG_SYS_SDRAM_BASE 0x80000000 #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_1 0x80000000
#define PHYS_SDRAM_2 0x880000000 #define PHYS_SDRAM_2 0x880000000
#define PHYS_SDRAM_1_SIZE 0x80000000 /* 2 GB */ #define PHYS_SDRAM_1_SIZE 0x80000000 /* 2 GB */