From: Patrick Delaunay Date: Thu, 8 Nov 2018 17:57:18 +0100 Subject: [U-Boot] [PATCH 0/2] Read default speed and mode values from DT Message-ID: <1541696240-11680-1-git-send-email-patrick.delaunay@st.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de This serie generalize the commit 96907c0fe50a ("dm: spi: Read default speed and mode values from DT") In case of DT boot, don't read default speed and mode for SPI from CONFIG_*, instead read from DT node. This will make sure that boards with multiple SPI/QSPI controllers can be probed at different bus frequencies and SPI modes. Today it is only done in the command sf; this patch do the same for the other user of the spi_flash_probe(): spl and splash to avoid probe issue. Patrick Delaunay (2): spl_spi: Read default speed and mode values from DT splash: sf: Read default speed and mode values from DT common/spl/spl_spi.c | 9 ++++++++- common/splash_source.c | 8 ++++++++ 2 files changed, 16 insertions(+), 1 deletion(-) -- 2.7.4