|
@@ -629,9 +629,9 @@ static void bl_setup_gt64120_jump_kernel(void **p, uint64_t run_addr,
|
|
|
|
|
|
/* Bus endianess is always reversed */
|
|
/* Bus endianess is always reversed */
|
|
#if TARGET_BIG_ENDIAN
|
|
#if TARGET_BIG_ENDIAN
|
|
-#define cpu_to_gt32 cpu_to_le32
|
|
|
|
|
|
+#define cpu_to_gt32(x) (x)
|
|
#else
|
|
#else
|
|
-#define cpu_to_gt32 cpu_to_be32
|
|
|
|
|
|
+#define cpu_to_gt32(x) bswap32(x)
|
|
#endif
|
|
#endif
|
|
|
|
|
|
/* setup MEM-to-PCI0 mapping as done by YAMON */
|
|
/* setup MEM-to-PCI0 mapping as done by YAMON */
|