]> git.dujemihanovic.xyz Git - u-boot.git/commit
dm: spi: Read default speed and mode values from DT
authorVignesh R <vigneshr@ti.com>
Wed, 6 Jul 2016 04:34:28 +0000 (10:04 +0530)
committerJagan Teki <jteki@openedev.com>
Sat, 9 Jul 2016 14:46:34 +0000 (20:16 +0530)
commit96907c0fe50a856f66f60ade68864a2d7949bf15
treef1dd47ffe30d1fdf79c34e2685cfc81be4813a02
parente835a74159798723592e3c45d06793cd6acaf7ff
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.

Signed-off-by: Vignesh R <vigneshr@ti.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Mugunthan V N <mugunthanvnm@ti.com>
Reviewed-by: Jagan Teki <jteki@openedev.com>
cmd/sf.c
common/env_sf.c
drivers/spi/spi-uclass.c