aboutsummaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorRob Herring <[email protected]>2015-04-29 16:02:30 -0500
committerRob Herring <[email protected]>2015-04-29 17:17:17 -0500
commitf1ec7187167ce225d2744b20a90afef5f10fd6cd (patch)
tree06c5e68c83eff9ed02a4b6eb400aa34e020cfbfa /include/linux
parent695e9fdd20d3f75705bd89633ad3d3276450bce6 (diff)
libfdt: add fdt type definitions
In preparation for libfdt/dtc update, add the new fdt specific types. Signed-off-by: Rob Herring <[email protected]> Cc: Russell King <[email protected]> Cc: Benjamin Herrenschmidt <[email protected]> Cc: Paul Mackerras <[email protected]> Cc: Michael Ellerman <[email protected]> Cc: [email protected] Cc: [email protected]
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/libfdt_env.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/libfdt_env.h b/include/linux/libfdt_env.h
index 01508c7b8c81..2a663c6bb428 100644
--- a/include/linux/libfdt_env.h
+++ b/include/linux/libfdt_env.h
@@ -5,6 +5,10 @@
#include <asm/byteorder.h>
+typedef __be16 fdt16_t;
+typedef __be32 fdt32_t;
+typedef __be64 fdt64_t;
+
#define fdt32_to_cpu(x) be32_to_cpu(x)
#define cpu_to_fdt32(x) cpu_to_be32(x)
#define fdt64_to_cpu(x) be64_to_cpu(x)