Commit abda1b4728f573a43a5b95db675821d2829de99b

Authored by Silvano di Ninno
1 parent 441c23698f

TEE-329-3: OP-TEE: increase number of DRAM BANKS

When OP-TEE is enabled a share memory is created
between Linux and OP-TEE. on QxP 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>

Showing 2 changed files with 2 additions and 2 deletions Side-by-side Diff

include/configs/imx8qxp_arm2.h
... ... @@ -334,7 +334,7 @@
334 334 #define CONFIG_SYS_MALLOC_LEN ((CONFIG_ENV_SIZE + (32*1024)) * 1024)
335 335  
336 336 #define CONFIG_SYS_SDRAM_BASE 0x80000000
337   -#define CONFIG_NR_DRAM_BANKS 3
  337 +#define CONFIG_NR_DRAM_BANKS 4
338 338 #define PHYS_SDRAM_1 0x80000000
339 339 #define PHYS_SDRAM_2 0x880000000
340 340 #if defined(CONFIG_TARGET_IMX8QXP_DDR3_ARM2) || defined(CONFIG_TARGET_IMX8DX_DDR3_ARM2)
include/configs/imx8qxp_mek.h
... ... @@ -329,7 +329,7 @@
329 329 #define CONFIG_SYS_MALLOC_LEN ((CONFIG_ENV_SIZE + (32*1024)) * 1024)
330 330  
331 331 #define CONFIG_SYS_SDRAM_BASE 0x80000000
332   -#define CONFIG_NR_DRAM_BANKS 3
  332 +#define CONFIG_NR_DRAM_BANKS 4
333 333 #define PHYS_SDRAM_1 0x80000000
334 334 #define PHYS_SDRAM_2 0x880000000
335 335 #define PHYS_SDRAM_1_SIZE 0x80000000 /* 2 GB */