]> git.sur5r.net Git - u-boot/commitdiff
Use CONFIG_IDE_SWAP_IO when running on big-endian MIPS (32 or 64-bit) in QEMU so...
authorStanislav Galabov <sgalabov@gmail.com>
Wed, 17 Feb 2016 13:23:30 +0000 (15:23 +0200)
committerDaniel Schwierzeck <daniel.schwierzeck@gmail.com>
Fri, 20 May 2016 23:25:50 +0000 (01:25 +0200)
Signed-off-by: Stanislav Galabov <sgalabov@gmail.com>
include/configs/qemu-mips.h
include/configs/qemu-mips64.h

index a7cd00350d4daa8ee2cd70524d5053597935a841..702967c4e8e5cdf93afca6851b13e5d5e60059f6 100644 (file)
 #define CONFIG_CMD_IDE
 #define CONFIG_DOS_PARTITION
 
+#ifdef CONFIG_SYS_BIG_ENDIAN
+#define CONFIG_IDE_SWAP_IO
+#endif
+
 #define CONFIG_SYS_IDE_MAXBUS          2
 #define CONFIG_SYS_ATA_IDE0_OFFSET     0x1f0
 #define CONFIG_SYS_ATA_IDE1_OFFSET     0x170
index 394382c4587fdbae552f1b3a4ef8e9fb72ace72f..239454984ae046ea10d25555ed4b307434c84561 100644 (file)
 #define CONFIG_CMD_IDE
 #define CONFIG_DOS_PARTITION
 
+#ifdef CONFIG_SYS_BIG_ENDIAN
+#define CONFIG_IDE_SWAP_IO
+#endif
+
 #define CONFIG_SYS_IDE_MAXBUS          2
 #define CONFIG_SYS_ATA_IDE0_OFFSET     0x1f0
 #define CONFIG_SYS_ATA_IDE1_OFFSET     0x170