summaryrefslogtreecommitdiff
path: root/include/configs
diff options
context:
space:
mode:
authorJeroen Hofstee <jeroen@myspectrum.nl>2014-06-11 23:12:28 +0200
committerTom Warren <twarren@nvidia.com>2014-06-19 09:18:05 -0700
commitc42ff090e41d4b9e50faa727bac490ee790f82f4 (patch)
tree3635d1f0f333229ba6fbaa87281f7e2e86777a66 /include/configs
parent0a26e1d6c394aacbf1153977b7348d1dff85db3f (diff)
downloadu-boot-imx-c42ff090e41d4b9e50faa727bac490ee790f82f4.zip
u-boot-imx-c42ff090e41d4b9e50faa727bac490ee790f82f4.tar.gz
u-boot-imx-c42ff090e41d4b9e50faa727bac490ee790f82f4.tar.bz2
tegra20: display: fix checking of return value
The calling code seems a bit in doubt about the return value of fdtdec_lookup_phandle. Since it returns a negative value on error (and fdt_node_offset_by_phandle as well), check for that. cc: Wei Ni <wni@nvidia.com> Signed-off-by: Jeroen Hofstee <jeroen@myspectrum.nl> Tested-by: Stephen Warren <swarren@nvidia.com> Signed-off-by: Tom Warren <twarren@nvidia.com>
Diffstat (limited to 'include/configs')
0 files changed, 0 insertions, 0 deletions