summaryrefslogtreecommitdiff
path: root/.rustfmt.toml
diff options
context:
space:
mode:
authorTudor Ambarus <tudor.ambarus@linaro.org>2023-04-07 15:40:58 +0900
committerTudor Ambarus <tudor.ambarus@linaro.org>2023-04-08 09:30:17 +0300
commite570f7872a34dc290014c80c7bad365d6577836b (patch)
tree60a17aa72e72abb7d89eabc2eb629095d02639f7 /.rustfmt.toml
parent120c94a67b26e4014597fc9f872803621e7a2514 (diff)
mtd: spi-nor: Allow post_sfdp hook to return errors
Multi die flashes like s25hl02gt need to determine the page_size at run-time by querying a configuration register for each die. Since the number of dice is determined in an optional SFDP table, SCCR MC, the page size configuration must be done in the post_sfdp hook. Allow post_sfdp to return errors, as reading the configuration register might return errors. Link: https://lore.kernel.org/r/924ab710f128448ec62537cfbb377336e390043c.1680849425.git.Takahiro.Kuwano@infineon.com Signed-off-by: Tudor Ambarus <tudor.ambarus@linaro.org>
Diffstat (limited to '.rustfmt.toml')
0 files changed, 0 insertions, 0 deletions