diff options
author | Tom Rini <trini@ti.com> | 2015-01-08 13:50:38 -0500 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2015-01-08 13:50:38 -0500 |
commit | f10d86d3fff9f53723a404b3794cca98a785ce6a (patch) | |
tree | ac3ba29d5b79ef0d00734c677320211771631782 /drivers/spi/cadence_qspi.c | |
parent | 906d6fe3033910a5eca72ef6fc9b47a957b113e5 (diff) | |
parent | adc0fabfd9662fa690e866332cd4277351f991c4 (diff) | |
download | u-boot-imx-f10d86d3fff9f53723a404b3794cca98a785ce6a.zip u-boot-imx-f10d86d3fff9f53723a404b3794cca98a785ce6a.tar.gz u-boot-imx-f10d86d3fff9f53723a404b3794cca98a785ce6a.tar.bz2 |
Merge branch 'master' of git://git.denx.de/u-boot-spi
Diffstat (limited to 'drivers/spi/cadence_qspi.c')
-rw-r--r-- | drivers/spi/cadence_qspi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/spi/cadence_qspi.c b/drivers/spi/cadence_qspi.c index fa95b19..98ae3b8 100644 --- a/drivers/spi/cadence_qspi.c +++ b/drivers/spi/cadence_qspi.c @@ -297,7 +297,7 @@ static int cadence_spi_ofdata_to_platdata(struct udevice *bus) /* All other paramters are embedded in the child node */ subnode = fdt_first_subnode(blob, node); - if (!subnode) { + if (subnode < 0) { printf("Error: subnode with SPI flash config missing!\n"); return -ENODEV; } |