summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDaniel Schwierzeck <daniel.schwierzeck@gmail.com>2012-08-23 23:47:02 +0200
committerDaniel Schwierzeck <daniel.schwierzeck@gmail.com>2012-08-24 00:34:47 +0200
commit748fd4a621a870d378e4e4f54df76a38fd5d3cba (patch)
treeb50c4727d4cf19a86550a183d4f6982847296a3a /include
parent0efcdb15f991386fea9e8de614b058bce759d557 (diff)
downloadu-boot-imx-748fd4a621a870d378e4e4f54df76a38fd5d3cba.zip
u-boot-imx-748fd4a621a870d378e4e4f54df76a38fd5d3cba.tar.gz
u-boot-imx-748fd4a621a870d378e4e4f54df76a38fd5d3cba.tar.bz2
MIPS: add support for qemu for little endian MIPS32 CPUs
Tested with 'qemu-system-mipsel -machine mips -bios u-boot.bin -nographic' Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
Diffstat (limited to 'include')
-rw-r--r--include/configs/qemu-mips.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/include/configs/qemu-mips.h b/include/configs/qemu-mips.h
index 306c173..b8b9705 100644
--- a/include/configs/qemu-mips.h
+++ b/include/configs/qemu-mips.h
@@ -100,7 +100,12 @@
*/
#define CONFIG_SYS_LONGHELP /* undef to save memory */
-#define CONFIG_SYS_PROMPT "qemu-mips # " /* Monitor Command Prompt */
+/* Monitor Command Prompt */
+#if defined(CONFIG_SYS_LITTLE_ENDIAN)
+#define CONFIG_SYS_PROMPT "qemu-mipsel # "
+#else
+#define CONFIG_SYS_PROMPT "qemu-mips # "
+#endif
#define CONFIG_AUTO_COMPLETE
#define CONFIG_CMDLINE_EDITING