mps_an547:Adjust the an547 initialization stack allocation
Summary(for an547): 1. Add maximum external storage expansion (2GB) 2. Change PRIMARY_RAM_START to MPS_SRAM2_START (4MB) 3. When REGIONS > 1, use external expansion as Heap Signed-off-by: chenrun1 <chenrun1@xiaomi.com> Signed-off-by: ligd <liguiding1@xiaomi.com>
This commit is contained in:
parent
02f1d732a9
commit
9f1ad1fc4f
|
@ -93,12 +93,16 @@
|
|||
#define MPS_SRAM2_START 0x21000000
|
||||
#define MPS_SRAM2_SIZE 0x00400000
|
||||
|
||||
#define PRIMARY_RAM_START MPS_SRAM1_START
|
||||
#define PRIMARY_RAM_SIZE MPS_SRAM1_SIZE
|
||||
/* External storage (2GB) */
|
||||
#define MPS_EXTMEM_START 0x60000000
|
||||
#define MPS_EXTMEM_SIZE 0x80000000
|
||||
|
||||
#define PRIMARY_RAM_START MPS_SRAM2_START
|
||||
#define PRIMARY_RAM_SIZE MPS_SRAM2_SIZE
|
||||
|
||||
#if CONFIG_MM_REGIONS > 1
|
||||
#define REGION1_RAM_START MPS_SRAM2_START
|
||||
#define REGION1_RAM_SIZE MPS_SRAM2_SIZE
|
||||
#define REGION1_RAM_START MPS_EXTMEM_START
|
||||
#define REGION1_RAM_SIZE MPS_EXTMEM_SIZE
|
||||
|
||||
#endif /* CONFIG_MM_REGIONS > 1 */
|
||||
|
||||
|
|
Loading…
Reference in New Issue