Skip to content

Commit 34d3d43

Browse files
committed
M2351: Fix NSC_Init(...)
Actually, NSC_Init(...) is not used by secure code currently. No need to rebuild secoure image/lib.
1 parent 7328467 commit 34d3d43

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

targets/TARGET_NUVOTON/TARGET_M2351/device/system_M2351.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -259,8 +259,6 @@ void NSC_Init(int32_t i32Region)
259259
u32Base = NU_TZ_NSC_REGION_START;
260260
u32Limit = (NU_TZ_NSC_REGION_START + NU_TZ_NSC_REGION_SIZE - 1);
261261

262-
/* SAU region 3 is dedicated for NSC */
263-
i32Region = 3;
264262
SAU->RNR = (i32Region & SAU_RNR_REGION_Msk);
265263
SAU->RBAR = (u32Base & SAU_RBAR_BADDR_Msk);
266264
SAU->RLAR = (u32Limit & SAU_RLAR_LADDR_Msk) |

0 commit comments

Comments
 (0)