u32 nv_revert_test(void)
{
    u32 ret = NV_ERROR;

    ret = bsp_nvm_backup();

    if(ret)
    {
        printf("backup failed!\n");
        return ret;
    }

    ret = bsp_nvm_revert();
    return ret;
}
Beispiel #2
0
BSP_U32 NV_RestoreAll(BSP_VOID)
{
    return bsp_nvm_revert() & NV_RESULT_CODE;
}
Beispiel #3
0
BSP_U32 NVM_UpgradeRestore(BSP_VOID)
{
    return bsp_nvm_revert();
}