mtd: spi-nor-core: Track flash's internal address mode in s25hx-t
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest4 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | mtd: spi-nor-core: Default to addr_width of 3 for configurable widthsdrivers/ | +1 | 0 replies | |
| 2/4 | mtd: spi-nor-core: Track flash's internal address modedrivers/ include/ | +7 | 0 replies | |
| 3/4 | mtd: spi-nor-core: Rework spansion_read/write_any_reg() to use addr_mode_nbytesdrivers/ | +8 | 0 replies | |
| 4/4 | mtd: spi-nor-core: Rework s25hx_t_post_bfpt_fixup() for flash's internal address modedrivers/ | +19 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/4] mtd: spi-nor-core: Track flash's internal address mode in s25hx-t
From: Takahiro Kuwano <[email protected]>
For S25hx-T support in Linux (single die package only), flash's internal address mode is not changed and it is assumed as factory default. Current implementation of u-boot forces to 4-byte address mode while some parts are 3-byte address mode by default. That will cause a problem when we use u-boot to load the Linux kernel. This series tries to avoid the problem, by porting two changes from linux [0][1] and additional rework.
[0] https://patchwork.ozlabs.org/project/linux-mtd/patch/[email protected]/
[1] https://patchwork.ozlabs.org/project/linux-mtd/patch/[email protected]/
Takahiro Kuwano (4):
mtd: spi-nor-core: Default to addr_width of 3 for configurable widths
mtd: spi-nor-core: Track flash's internal address mode
mtd: spi-nor-core: Rework spansion_read/write_any_reg() to use
addr_mode_nbytes
mtd: spi-nor-core: Rework s25hx_t_post_bfpt_fixup() for flash's
internal address mode
drivers/mtd/spi/spi-nor-core.c | 42 ++++++++++++++++++++++++---------- include/linux/mtd/spi-nor.h | 5 ++++ 2 files changed, 35 insertions(+), 12 deletions(-)
Signature · 1 line
2.25.1