]> git.baikalelectronics.ru Git - uboot.git/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)
commitfdf140a4624ae5fe2632a7d623e068efbeffe3e8
treebe5c9f43edb8f996016124daeed05273feafbfe0
parentbacf0955bc1f2dea69e28e75147d7759321caf15
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