x86: use FDT accessors for FDT blob header data
authorRob Herring <robh@kernel.org>
Mon, 31 Mar 2014 20:17:31 +0000 (15:17 -0500)
committerRob Herring <robh@kernel.org>
Wed, 30 Apr 2014 05:59:19 +0000 (00:59 -0500)
Remove the direct accesses to FDT header data using accessor
function instead. This makes the code more readable and makes the FDT
blob structure more opaque to the arch code. This also prepares for
removing struct boot_param_header completely.

Signed-off-by: Rob Herring <robh@kernel.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Cc: x86@kernel.org
Tested-by: Grant Likely <grant.likely@linaro.org>
arch/x86/kernel/devicetree.c

Simple merge