summaryrefslogtreecommitdiffstats
path: root/kernel/arch/powerpc/boot/libfdt_env.h
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/arch/powerpc/boot/libfdt_env.h')
-rw-r--r--kernel/arch/powerpc/boot/libfdt_env.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/kernel/arch/powerpc/boot/libfdt_env.h b/kernel/arch/powerpc/boot/libfdt_env.h
index 8dcd744e5..7e3789ea3 100644
--- a/kernel/arch/powerpc/boot/libfdt_env.h
+++ b/kernel/arch/powerpc/boot/libfdt_env.h
@@ -10,6 +10,10 @@ typedef u32 uint32_t;
typedef u64 uint64_t;
typedef unsigned long uintptr_t;
+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)