SFDP: Set region count to 1 for no sector map
A flash device with no sector map table has uniform sectors, and we treat the whole flash as one region. In this case the function `sfdp_parse_sector_map_table()` sets the single region's size and high boundary accordingly, but it lacks setting of region count to 1, so users of the SFDP parser may not get the correct number of regions. This commit fixes the issue. |
---|
|
storage/blockdevice/source/SFDP.cpp |
---|