[PATCH v2] spi: cadence_qspi: Select flash subnode at runtime

Jagan Teki jagan at amarulasolutions.com
Thu Dec 14 19:07:35 CET 2023


On Tue, Sep 12, 2023 at 3:20 PM Udit Kumar <u-kumar1 at ti.com> wrote:
>
> Currently spi driver gets flash parameter from first subnode.
>
> Few boards have more than one flash with different parameters
> and selection of flash is done by on board switch settings.
> In such case, uboot needs to be recompiled with updated
> device tree to align with board switch settings.
>
> This patch allows to select flash node at runtime.
>
> Boards those are supporting multiple flashes
> needs to implement cadence_qspi_get_subnode function and return correct
> flash node.
>
> Cc: Apurva Nandan <a-nandan at ti.com>
> Signed-off-by: Udit Kumar <u-kumar1 at ti.com>
> Reviewed-by: Neha Malcom Francis <n-francis at ti.com>
> ---

Applied to u-boot-spi/master


More information about the U-Boot mailing list