]> git.karo-electronics.de Git - linux-beck.git/commit
of/fdt: introduce of_get_flat_dt_size
authorRob Herring <robh@kernel.org>
Tue, 22 Apr 2014 17:55:10 +0000 (12:55 -0500)
committerRob Herring <robh@kernel.org>
Wed, 30 Apr 2014 05:59:18 +0000 (00:59 -0500)
commitc0556d3f2c3f42eaed049139ce6f0899ecdb0217
tree9bfbb3c61b640a8492e95f0cdff10c9734376c09
parent1d1a661da4c8468b3fa6f567b2b1f8cdeafa847a
of/fdt: introduce of_get_flat_dt_size

Add a wrapper function to retrieve the FDT size from the FDT header. This
is primarily to avoid libfdt include paths for the whole kernel.

Signed-off-by: Rob Herring <robh@kernel.org>
Tested-by: Grant Likely <grant.likely@linaro.org>
Tested-by: Stephen Chivers <schivers@csc.com>
drivers/of/fdt.c
include/linux/of_fdt.h