diff options
author | Rob Herring <robh@kernel.org> | 2014-03-31 22:15:00 +0200 |
---|---|---|
committer | Rob Herring <robh@kernel.org> | 2014-04-30 07:59:18 +0200 |
commit | 060f78c2543a890626cab81796b0d6f7070bd989 (patch) | |
tree | 5d402737cef84ba79aedd44be8f1577b7ee769de /arch/powerpc/kernel/Makefile | |
parent | of/fdt: introduce of_get_flat_dt_size (diff) | |
download | linux-060f78c2543a890626cab81796b0d6f7070bd989.tar.xz linux-060f78c2543a890626cab81796b0d6f7070bd989.zip |
powerpc: 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: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Paul Mackerras <paulus@samba.org>
Tested-by: Grant Likely <grant.likely@linaro.org>
Tested-by: Stephen Chivers <schivers@csc.com>
Diffstat (limited to 'arch/powerpc/kernel/Makefile')
-rw-r--r-- | arch/powerpc/kernel/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/kernel/Makefile b/arch/powerpc/kernel/Makefile index fcc9a89a4695..fab19ec25597 100644 --- a/arch/powerpc/kernel/Makefile +++ b/arch/powerpc/kernel/Makefile @@ -2,6 +2,7 @@ # Makefile for the linux kernel. # +CFLAGS_prom.o = -I$(src)/../../../scripts/dtc/libfdt CFLAGS_ptrace.o += -DUTS_MACHINE='"$(UTS_MACHINE)"' subdir-ccflags-$(CONFIG_PPC_WERROR) := -Werror |