Skip to content

Commit

Permalink
Fix nonsecure RAM area in SAU
Browse files Browse the repository at this point in the history
  • Loading branch information
danielinux committed Sep 12, 2023
1 parent 82e521d commit d5f4dc8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions hal/stm32_tz.c
Original file line number Diff line number Diff line change
Expand Up @@ -178,8 +178,8 @@ void hal_tz_sau_init(void)
/* Non-secure: application flash area */
sau_init_region(1, 0x08040000, 0x0807FFFF, 0);

/* Non-secure RAM region in SRAM1 */
sau_init_region(2, 0x20018000, 0x2002FFFF, 0);
/* Non-secure RAM region in SRAM1/SRAM2 */
sau_init_region(2, 0x20020000, 0x2003FFFF, 0);

/* Non-secure: internal peripherals */
sau_init_region(3, 0x40000000, 0x4FFFFFFF, 0);
Expand Down

0 comments on commit d5f4dc8

Please sign in to comment.