diff options
author | Rob Herring <robh@kernel.org> | 2015-04-29 16:02:30 -0500 |
---|---|---|
committer | Rob Herring <robh@kernel.org> | 2015-04-29 17:17:17 -0500 |
commit | f1ec7187167ce225d2744b20a90afef5f10fd6cd (patch) | |
tree | 06c5e68c83eff9ed02a4b6eb400aa34e020cfbfa /arch/arm/boot/compressed/libfdt_env.h | |
parent | 695e9fdd20d3f75705bd89633ad3d3276450bce6 (diff) | |
download | op-kernel-dev-f1ec7187167ce225d2744b20a90afef5f10fd6cd.zip op-kernel-dev-f1ec7187167ce225d2744b20a90afef5f10fd6cd.tar.gz |
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/arm/boot/compressed/libfdt_env.h')
-rw-r--r-- | arch/arm/boot/compressed/libfdt_env.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/boot/compressed/libfdt_env.h b/arch/arm/boot/compressed/libfdt_env.h index 1f4e718..17ae0f3 100644 --- a/arch/arm/boot/compressed/libfdt_env.h +++ b/arch/arm/boot/compressed/libfdt_env.h @@ -5,6 +5,10 @@ #include <linux/string.h> #include <asm/byteorder.h> +typedef __be16 fdt16_t; +typedef __be32 fdt32_t; +typedef __be64 fdt64_t; + #define fdt16_to_cpu(x) be16_to_cpu(x) #define cpu_to_fdt16(x) cpu_to_be16(x) #define fdt32_to_cpu(x) be32_to_cpu(x) |