of/fdt: use libfdt accessors for header data
authorRob Herring <robh@kernel.org>
Wed, 2 Apr 2014 03:48:01 +0000 (22:48 -0500)
committerRob Herring <robh@kernel.org>
Wed, 30 Apr 2014 05:59:16 +0000 (00:59 -0500)
commitc972de14971f1482ab482f0a7abc85679a23326a
tree84d2055f6ab0517978736c20a3204f99b3cc8e21
parente6a6928c3ea1d0195ed75a091e345696b916c09b
of/fdt: use libfdt accessors for header data

With libfdt support, we can take advantage of helper accessors in libfdt
for accessing the FDT header data. This makes the code more readable and
makes the FDT blob structure more opaque to the kernel. This also
prepares for removing struct boot_param_header completely.

Signed-off-by: Rob Herring <robh@kernel.org>
Cc: Max Filippov <jcmvbkbc@gmail.com>
Tested-by: Michal Simek <michal.simek@xilinx.com>
Tested-by: Grant Likely <grant.likely@linaro.org>
Tested-by: Stephen Chivers <schivers@csc.com>
drivers/of/fdt.c
include/linux/of_fdt.h
This page took 0.176977 seconds and 5 git commands to generate.