[PATCH 0/4] mtd: spi-nor-core: Track flash's internal address mode in s25hx-t

Jagan Teki jagan at amarulasolutions.com
Sun Oct 23 07:24:43 CEST 2022


On Thu, Sep 1, 2022 at 11:36 AM <tkuw584924 at gmail.com> wrote:
>
> 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

Applied to u-boot-spi/master


More information about the U-Boot mailing list