diff --git a/Libraries/PeriphDrivers/Source/FLC/flc_me30.c b/Libraries/PeriphDrivers/Source/FLC/flc_me30.c index d926e0e420..555a2b4422 100644 --- a/Libraries/PeriphDrivers/Source/FLC/flc_me30.c +++ b/Libraries/PeriphDrivers/Source/FLC/flc_me30.c @@ -185,13 +185,13 @@ int MXC_FLC_MassErase(void) //****************************************************************************** int MXC_FLC_UnlockInfoBlock(uint32_t address) { + /* Flash Controller only accessible in secure world. */ #if defined(CONFIG_TRUSTED_EXECUTION_SECURE) || (CONFIG_TRUSTED_EXECUTION_SECURE != 0) if ((address < MXC_INFO_MEM_BASE) || (address >= (MXC_INFO_MEM_BASE + (MXC_INFO_MEM_SIZE * 2)))) { return E_BAD_PARAM; } #else - /* Flash Controller only accessible in secure world. */ return E_NOT_SUPPORTED; #endif