[PATCH 0/4] mtd: spi-nor-core: Track flash's internal address mode in s25hx-t
tkuw584924 at gmail.com
tkuw584924 at gmail.com
Thu Sep 1 08:05:29 CEST 2022
From: Takahiro Kuwano <Takahiro.Kuwano at infineon.com>
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/20200525091544.17270-7-p.yadav@ti.com/
[1] https://patchwork.ozlabs.org/project/linux-mtd/patch/20220725092505.446315-6-tudor.ambarus@microchip.com/
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(-)
--
2.25.1
More information about the U-Boot
mailing list