]> git.sur5r.net Git - u-boot/commit
board/BuR/common: simplify access to devicetree
authorHannes Petermaier <oe5hpm@oevsv.at>
Wed, 8 Apr 2015 05:38:33 +0000 (07:38 +0200)
committerTom Rini <trini@konsulko.com>
Thu, 23 Apr 2015 12:52:22 +0000 (08:52 -0400)
commit47c14227b85eb93fedfa59497326ae0bba0fb407
treeb085f398909bb395fdb04ff3eb86361274643254
parent1a1cf6ee47409d44573de3adbcabd2d0f5520cad
board/BuR/common: simplify access to devicetree

instead of polling everytime the environment, we take usage of the global
gd->fdt_blob variable and check it only against NULL.

Variable "dtbaddr" from environment is needed only one time on loading the
devicetree within "load_devicetree()"

Signed-off-by: Hannes Petermaier <oe5hpm@oevsv.at>
board/BuR/common/common.c