Should this be |= instead of =? If it's supposed to be =, why bother reading FLASH_BASE->CR?