]> git.sur5r.net Git - u-boot/commit
spi: cadence_qspi: Fix fdt read of spi-max-frequency
authorChin Liang See <clsee@altera.com>
Sat, 17 Oct 2015 13:32:14 +0000 (08:32 -0500)
committerMarek Vasut <marex@denx.de>
Thu, 5 Nov 2015 01:34:15 +0000 (02:34 +0100)
commit040f4ba742700529d950a92da5ddbe99d9ae335e
tree7973bebdb63fe6744595cc27f37470912e47f48d
parent98fbd71d7a4492e23377b8753cfd77add26c63ec
spi: cadence_qspi: Fix fdt read of spi-max-frequency

Fix the fdt read for spi-max-frequency as it's contained
in the child node. Current state of code is always
returning default value.

Signed-off-by: Chin Liang See <clsee@altera.com>
Cc: Dinh Nguyen <dinguyen@opensource.altera.com>
Cc: Dinh Nguyen <dinh.linux@gmail.com>
Cc: Marek Vasut <marex@denx.de>
Cc: Stefan Roese <sr@denx.de>
Cc: Vikas Manocha <vikas.manocha@st.com>
Cc: Jagannadh Teki <jteki@openedev.com>
Cc: Pavel Machek <pavel@denx.de>
Acked-by: Marek Vasut <marex@denx.de>
Acked-by: Pavel Machek <pavel@denx.de>
drivers/spi/cadence_qspi.c