SFDP: Add support for multiple configurations and sector maps
A Sector Map Parameter Table contains a sequence of the following
descriptors:
* (Optional) configuration detection command descriptors, one for
each command to run to determine the current configuration. This
exists only if the flash layout is configurable.
* Sector map descriptors, one for each possible configuration. On
a flash device with a non-configurable layout, there is only one
such descriptor.

Previously we only supported the non-configurable case with a single
descriptor. This commit adds support for multiple configurations.
ls
1 parent f88bf82 commit 6bb23815c5d3ac0c852505e3a2d56532e7355a19
@Lingkai Dong Lingkai Dong authored on 9 Aug 2021
Showing 2 changed files
View
storage/blockdevice/source/SFDP.cpp
View
storage/blockdevice/tests/UNITTESTS/SFDP/test_sfdp.cpp