/* Clear the Programming Error Status Flag, upper Bank.  */
void flash_clear_pgerr_flag_upper(void)
/* Clear the Programming Error Status Flag, upper Bank.  */
void flash_clear_pgerr_flag_upper(void)
{
	if (DESIG_FLASH_SIZE > 512) {
		FLASH_SR2 |= FLASH_SR_PGERR;
	}
}