/* Clear the Write Protect Error Status Flag, upper Bank.  */
void flash_clear_wrprterr_flag_upper(void)
/* Clear the Write Protect Error Status Flag, upper Bank.  */
void flash_clear_wrprterr_flag_upper(void)
{
	if (DESIG_FLASH_SIZE > 512) {
		FLASH_SR2 |= FLASH_SR_WRPRTERR;
	}
}