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:
parent
a40784744a
commit
53e60095df
|
|
@ -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 */
|
||||||
|
|
|
||||||
|
|
@ -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 */
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue