Skip to content
Commit c77efca2 authored by Udit Kumar's avatar Udit Kumar Committed by Jagan Teki
Browse files

spi: cadence_qspi: Select flash subnode at runtime



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@ti.com>
Signed-off-by: default avatarUdit Kumar <u-kumar1@ti.com>
Reviewed-by: default avatarNeha Malcom Francis <n-francis@ti.com>
Reviewed-by: default avatarJagan Teki <jagan@amarulasolutions.com>
parent a08f7de3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment