]> git.baikalelectronics.ru Git - uboot.git/commit
spi: cadence_qspi: convert to livetree
authorSimon Goldschmidt <simon.k.r.goldschmidt@gmail.com>
Thu, 9 May 2019 20:11:56 +0000 (22:11 +0200)
committerMarek Vasut <marex@denx.de>
Fri, 10 May 2019 20:48:11 +0000 (22:48 +0200)
commitf34b0b60e915002387d663ab6fe4309c71ff1d5a
tree712d680447ca193447747ee4ee019d85c54dc3b2
parentc5e0f269f7b97575f24c1fb295ec7a03bb46dee5
spi: cadence_qspi: convert to livetree

Convert 'cadence_spi_ofdata_to_platdata' to use dev_read_* functions to
read driver parameters and 'dev_read_first_subnode'/'ofnode_read_*' to
read flash (child node) parameters.

Tested on socfpga_socrates (socfpga gen5).

Signed-off-by: Simon Goldschmidt <simon.k.r.goldschmidt@gmail.com>
drivers/spi/cadence_qspi.c