--
This commit is contained in:
@@ -214,6 +214,10 @@ blt_addr NvmGetUserProgBaseAddress(void)
|
||||
****************************************************************************************/
|
||||
blt_bool NvmDone(void)
|
||||
{
|
||||
if (FlashDone() != BLT_TRUE)
|
||||
{
|
||||
return BLT_FALSE;
|
||||
}
|
||||
#if (BOOT_NVM_HOOKS_ENABLE > 0)
|
||||
/* give the application's NVM driver a chance to finish up */
|
||||
if (NvmDoneHook() == BLT_FALSE)
|
||||
@@ -238,7 +242,7 @@ blt_bool NvmDone(void)
|
||||
#endif
|
||||
|
||||
/* finish up internal driver operations */
|
||||
return FlashDone();
|
||||
return BLT_TRUE;
|
||||
} /*** end of NvmDone ***/
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user