Increase flash program granularity on Realtek RTL8195AM

The Page size has been set to 1 byte instead of the previous 256.
Although 256 is the physical page size, the driver supports
writing 1 byte at a time.
pull/5471/head
Marcus Chang 2017-11-09 09:51:06 -08:00
parent 0d1dc83eb1
commit 5fe03afea6
1 changed files with 1 additions and 1 deletions

View File

@ -56,7 +56,7 @@ uint32_t flash_get_sector_size(const flash_t *obj, uint32_t address)
uint32_t flash_get_page_size(const flash_t *obj)
{
return FLASH_PAGE_SIZE;
return 1;
}
uint32_t flash_get_start_address(const flash_t *obj)