libfdt_env.h 406 B

12345678910111213141516
  1. #ifndef _LIBFDT_ENV_H
  2. #define _LIBFDT_ENV_H
  3. #include <stddef.h>
  4. #include <linux/types.h>
  5. #include <asm/byteorder.h>
  6. #include <linux/string.h>
  7. struct fdt_header *fdt; /* Pointer to the working fdt */
  8. #define fdt32_to_cpu(x) __be32_to_cpu(x)
  9. #define cpu_to_fdt32(x) __cpu_to_be32(x)
  10. #define fdt64_to_cpu(x) __be64_to_cpu(x)
  11. #define cpu_to_fdt64(x) __cpu_to_be64(x)
  12. #endif /* _LIBFDT_ENV_H */