static __pdata uint8_t ao_flash_setup_done;
static __data uint32_t ao_flash_device_size;
static __data uint8_t ao_flash_block_shift;
static __pdata uint8_t ao_flash_setup_done;
static __data uint32_t ao_flash_device_size;
static __data uint8_t ao_flash_block_shift;
/* On first use, check to see if the flash chip has
* been programmed to use 512 byte pages. If not, do so.
/* On first use, check to see if the flash chip has
* been programmed to use 512 byte pages. If not, do so.