arch: arm: mpu: add support for 640k SRAM
The STM32L4+ parts have 640k of SRAM. Signed-off-by: Pushpal Sidhu <psidhu.devel@gmail.com>
This commit is contained in:
parent
f1d78d8f38
commit
3ed0375c8d
1 changed files with 4 additions and 0 deletions
|
@ -73,6 +73,10 @@
|
||||||
#define REGION_SRAM_0_SIZE REGION_256K
|
#define REGION_SRAM_0_SIZE REGION_256K
|
||||||
#define REGION_SRAM_1_START 0x40000
|
#define REGION_SRAM_1_START 0x40000
|
||||||
#define REGION_SRAM_1_SIZE REGION_128K
|
#define REGION_SRAM_1_SIZE REGION_128K
|
||||||
|
#elif CONFIG_SRAM_SIZE == 640
|
||||||
|
#define REGION_SRAM_0_SIZE REGION_512K
|
||||||
|
#define REGION_SRAM_1_START 0x80000
|
||||||
|
#define REGION_SRAM_1_SIZE REGION_128K
|
||||||
#else
|
#else
|
||||||
#error "Unsupported configuration"
|
#error "Unsupported configuration"
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue