10 #if __BYTE_ORDER == __BIG_ENDIAN
11 #define fdt32_to_cpu(x) (x)
12 #define cpu_to_fdt32(x) (x)
13 #define fdt64_to_cpu(x) (x)
14 #define cpu_to_fdt64(x) (x)
16 #define fdt32_to_cpu(x) (bswap_32((x)))
17 #define cpu_to_fdt32(x) (bswap_32((x)))
18 #define fdt64_to_cpu(x) (bswap_64((x)))
19 #define cpu_to_fdt64(x) (bswap_64((x)))
22 #endif /* _LIBFDT_ENV_H */