]> git.kernelconcepts.de Git - karo-tx-uboot.git/blob - include/libfdt_env.h
Merge with /home/wd/git/u-boot/custodian/u-boot-ppc4xx
[karo-tx-uboot.git] / include / libfdt_env.h
1 #ifndef _LIBFDT_ENV_H
2 #define _LIBFDT_ENV_H
3
4 #include <stddef.h>
5 #include <linux/types.h>
6 #include <asm/byteorder.h>
7 #include <linux/string.h>
8
9 struct fdt_header *fdt;         /* Pointer to the working fdt */
10
11 #define fdt32_to_cpu(x)         __be32_to_cpu(x)
12 #define cpu_to_fdt32(x)         __cpu_to_be32(x)
13 #define fdt64_to_cpu(x)         __be64_to_cpu(x)
14 #define cpu_to_fdt64(x)         __cpu_to_be64(x)
15
16 #endif /* _LIBFDT_ENV_H */