[M2351] Set secure SRAM size as 24KB in SAU & SCU

pull/7302/head
cyliangtw 2018-01-25 19:21:45 +08:00 committed by ccli8
parent d99fbcb166
commit ef7f04808d
1 changed files with 2 additions and 2 deletions
targets/TARGET_NUVOTON/TARGET_M2351/device

View File

@ -123,7 +123,7 @@
/* /*
// <o>Start Address <0-0xFFFFFFE0> // <o>Start Address <0-0xFFFFFFE0>
*/ */
#define SAU_INIT_START3 0x3000C000 #define SAU_INIT_START3 0x30006000
/* /*
// <o>End Address <0x1F-0xFFFFFFFF> // <o>End Address <0x1F-0xFFFFFFFF>
*/ */
@ -697,7 +697,7 @@ __STATIC_INLINE void TZ_SAU_Setup(void)
// <o.14> 0x0001C000 ~ 0x0001DFFF <0=> Secure <1=> Non-Secure // <o.14> 0x0001C000 ~ 0x0001DFFF <0=> Secure <1=> Non-Secure
// <o.15> 0x0001E000 ~ 0x0001FFFF <0=> Secure <1=> Non-Secure // <o.15> 0x0001E000 ~ 0x0001FFFF <0=> Secure <1=> Non-Secure
*/ */
#define SCU_INIT_SRAMNSSET_VAL 0x00000FC0 #define SCU_INIT_SRAMNSSET_VAL 0x00000FF8
/* /*
// </h> // </h>