[PATCH v2 1/2] mtd: spi-nor: Respect flash's hwcaps in spi_nor_adjust_hwcaps()
Jagan Teki
jagan at amarulasolutions.com
Tue Aug 3 08:24:50 CEST 2021
On Fri, Jul 30, 2021 at 12:50 PM Bin Meng <bmeng.cn at gmail.com> wrote:
>
> The smart spi_nor_adjust_hwcaps() does not respect the SPI flash's
> hwcaps, and only looks to the controller on what can be supported.
>
> The flash's hwcaps needs to be AND'ed before checking.
>
> Fixes: 71025f013ccb ("mtd: spi-nor-core: Rework hwcaps selection")
> Signed-off-by: Bin Meng <bmeng.cn at gmail.com>
> Reviewed-by: Pratyush Yadav <p.yadav at ti.com>
>
> ---
Applied to u-boot-spi/master
More information about the U-Boot
mailing list