aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/cdns3/cdns3-trace.c
diff options
context:
space:
mode:
authorTakahiro Kuwano <[email protected]>2024-02-20 08:34:09 +0000
committerTudor Ambarus <[email protected]>2024-02-26 11:29:09 +0000
commit6a9eda34418fc4dc05c2a7d6741c475e287d418c (patch)
tree7f2c878b3b1ad22a81919afe8790fbc1981981d8 /drivers/usb/cdns3/cdns3-trace.c
parentmtd: spi-nor: core: get rid of SNOR_OVERLAID_REGION flag (diff)
downloadkernel-6a9eda34418fc4dc05c2a7d6741c475e287d418c.tar.gz
kernel-6a9eda34418fc4dc05c2a7d6741c475e287d418c.zip
mtd: spi-nor: core: set mtd->eraseregions for non-uniform erase map
Some of Infineon SPI NOR flash devices support hybrid sector layout that overlays 4KB sectors on a 256KB sector and SPI NOR framework recognizes that by parsing SMPT and construct params->erase_map. The hybrid sector layout is similar to CFI flash devices that have small sectors on top and/or bottom address. In case of CFI flash devices, the erase map information is parsed through CFI table and populated into mtd->eraseregions so that users can create MTD partitions that aligned with small sector boundaries. This patch provides the same capability to SPI NOR flash devices that have non-uniform erase map. Signed-off-by: Takahiro Kuwano <[email protected]> Reviewed-by: Michael Walle <[email protected]> Link: https://lore.kernel.org/r/35d0962986e493b06c13bdf7ada8130a9966dc02.1708404584.git.Takahiro.Kuwano@infineon.com Signed-off-by: Tudor Ambarus <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-trace.c')
0 files changed, 0 insertions, 0 deletions