aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/boot/of.h
diff options
context:
space:
mode:
authorRob Herring <robh@kernel.org>2015-04-29 16:02:30 -0500
committerRob Herring <robh@kernel.org>2015-04-29 17:17:17 -0500
commitf1ec7187167ce225d2744b20a90afef5f10fd6cd (patch)
tree06c5e68c83eff9ed02a4b6eb400aa34e020cfbfa /arch/powerpc/boot/of.h
parentscripts/dtc: add missing libfdt and fixups to import script (diff)
downloadlinux-dev-f1ec7187167ce225d2744b20a90afef5f10fd6cd.tar.xz
linux-dev-f1ec7187167ce225d2744b20a90afef5f10fd6cd.zip
libfdt: add fdt type definitions
In preparation for libfdt/dtc update, add the new fdt specific types. Signed-off-by: Rob Herring <robh@kernel.org> Cc: Russell King <linux@arm.linux.org.uk> Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org> Cc: Paul Mackerras <paulus@samba.org> Cc: Michael Ellerman <mpe@ellerman.id.au> Cc: linux-arm-kernel@lists.infradead.org Cc: linuxppc-dev@lists.ozlabs.org
Diffstat (limited to 'arch/powerpc/boot/of.h')
-rw-r--r--arch/powerpc/boot/of.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/powerpc/boot/of.h b/arch/powerpc/boot/of.h
index 5603320dce07..53f8f27f94e4 100644
--- a/arch/powerpc/boot/of.h
+++ b/arch/powerpc/boot/of.h
@@ -21,7 +21,9 @@ int of_setprop(const void *phandle, const char *name, const void *buf,
/* Console functions */
void of_console_init(void);
+typedef u16 __be16;
typedef u32 __be32;
+typedef u64 __be64;
#ifdef __LITTLE_ENDIAN__
#define cpu_to_be16(x) swab16(x)