/* Execute ISP commands to erase then write User Configuration.  */
int32_t FMC_WriteConfig(uint32_t u32Config[], uint32_t u32Count)
/* Execute ISP commands to erase then write User Configuration.  */
int32_t FMC_WriteConfig(uint32_t u32Config[], uint32_t u32Count)
{
    FMC_ENABLE_CFG_UPDATE();
    FMC_Erase(FMC_CONFIG_BASE);
    FMC_Write(FMC_CONFIG_BASE, u32Config[0]);
    FMC_Write(FMC_CONFIG_BASE + 4UL, u32Config[1]);
    FMC_DISABLE_CFG_UPDATE();
    return 0;
}