diff options
author | Kinsey Moore <kinsey.moore@oarcorp.com> | 2023-05-24 13:53:45 -0500 |
---|---|---|
committer | Joel Sherrill <joel@rtems.org> | 2023-06-08 09:48:44 -0500 |
commit | 4ca4311036f7206771cc2cf0f4ce2aa0ef37fbbf (patch) | |
tree | 1bb71b866e946a80d271396c67dceb7812107139 /bsps/include/dev | |
parent | bsps/xqspipsu: Ensure NOR writes align (diff) | |
download | rtems-4ca4311036f7206771cc2cf0f4ce2aa0ef37fbbf.tar.bz2 |
bsps/xqspipsu: Correct s25fl512s flash definition
The definition for the s25fl512s flash chip is incorrect. This updates
the sector size and page size values to match the datasheet.
Diffstat (limited to 'bsps/include/dev')
-rw-r--r-- | bsps/include/dev/spi/xqspipsu_flash_config.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bsps/include/dev/spi/xqspipsu_flash_config.h b/bsps/include/dev/spi/xqspipsu_flash_config.h index 8ef89f85ff..8310a87536 100644 --- a/bsps/include/dev/spi/xqspipsu_flash_config.h +++ b/bsps/include/dev/spi/xqspipsu_flash_config.h @@ -222,8 +222,8 @@ FlashInfo Flash_Config_Table[] = { {0x016019, SECTOR_SIZE_64K, NUM_OF_SECTORS512, BYTES256_PER_PAGE, 0x20000, 0x2000000, 0xFFFF0000, 1}, /*s25fl512s*/ - {0x010220, SECTOR_SIZE_64K, NUM_OF_SECTORS1024, BYTES256_PER_PAGE, - 0x40000, 0x4000000, 0xFFFF0000, 1}, + {0x010220, SECTOR_SIZE_256K, NUM_OF_SECTORS256, BYTES512_PER_PAGE, + 0x20000, 0x4000000, 0xFFFC0000, 1}, /* Spansion 1Gbit is handled as 512Mbit stacked */ /* Micron */ /*n25q128a11*/ |