David Gibson | 2f0dfea | 2007-12-10 14:28:39 +1100 | [diff] [blame] | 1 | #ifndef _ARCH_POWERPC_BOOT_LIBFDT_ENV_H |
| 2 | #define _ARCH_POWERPC_BOOT_LIBFDT_ENV_H |
| 3 | |
| 4 | #include <types.h> |
| 5 | #include <string.h> |
| 6 | |
| 7 | typedef u32 uint32_t; |
| 8 | typedef u64 uint64_t; |
David Gibson | ed95d74 | 2008-08-07 12:24:17 +1000 | [diff] [blame] | 9 | typedef unsigned long uintptr_t; |
David Gibson | 2f0dfea | 2007-12-10 14:28:39 +1100 | [diff] [blame] | 10 | |
| 11 | #define fdt16_to_cpu(x) (x) |
| 12 | #define cpu_to_fdt16(x) (x) |
| 13 | #define fdt32_to_cpu(x) (x) |
| 14 | #define cpu_to_fdt32(x) (x) |
| 15 | #define fdt64_to_cpu(x) (x) |
| 16 | #define cpu_to_fdt64(x) (x) |
| 17 | |
| 18 | #endif /* _ARCH_POWERPC_BOOT_LIBFDT_ENV_H */ |