]> git.sur5r.net Git - u-boot/commit
board/BuR/common: incorrect check of dtb
authorxypron.glpk@gmx.de <xypron.glpk@gmx.de>
Fri, 5 May 2017 18:57:32 +0000 (20:57 +0200)
committerTom Rini <trini@konsulko.com>
Fri, 5 May 2017 20:46:51 +0000 (16:46 -0400)
commit169b50efe2635952d9679268860a3e37aa13adf6
treebe5c9f43edb8f996016124daeed05273feafbfe0
parentf59a3b21f60190793dc3cee97338c2f6ee9f2336
board/BuR/common: incorrect check of dtb

The logical expression to check the dtb is incorrect in
load_devicetree.

The problem was indicated by cppcheck.

The inconsistent variable name dtppart is changed to dtbpart.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Reviewed-by: Hannes Schmelzer <oe5hpm@oevsv.at>
Acked-by: Hannes Schmelzer <oe5hpm@oevsv.at>
board/BuR/common/common.c