]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
board/BuR/common: simplify access to devicetree
authorHannes Petermaier <oe5hpm@oevsv.at>
Wed, 8 Apr 2015 05:38:33 +0000 (07:38 +0200)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 8 Sep 2015 20:30:12 +0000 (22:30 +0200)
commit37c222e41570b060d00b9fef391e2dac4f72993d
tree0f041c7c0eec93e0e3f1a68fa9f7de35a799e1f1
parent817c1ec3b5fa98dc95e3efa0249d8b69320080eb
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