summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Dufour2012-12-18 16:55:08 +0100
committerOlivier Dufour2012-12-18 17:27:27 +0100
commit4e6d9c26a0e1c065dfbb912c69fe343f86723240 (patch)
tree1b64981667bfc1f4cfba1350dbde13a167e79ab8
parentb3c0ff18e08cbb51fc7ce97b79e0d8450cf27b7c (diff)
cleo/uboot: command prompt depends on chip type, closes #3606
-rw-r--r--cleopatre/u-boot-1.1.6/include/configs/spc300_arch.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/cleopatre/u-boot-1.1.6/include/configs/spc300_arch.h b/cleopatre/u-boot-1.1.6/include/configs/spc300_arch.h
index b38958b41f..b2ac7aeb52 100644
--- a/cleopatre/u-boot-1.1.6/include/configs/spc300_arch.h
+++ b/cleopatre/u-boot-1.1.6/include/configs/spc300_arch.h
@@ -33,6 +33,7 @@
# define CONFIG_CHIP_FEATURE_SPCPLL 1
# define CONFIG_CHIP_FEATURE_SPCPIO 1
# define CONFIG_CHIP_FEATURE_SPCETH 1
+# define CONFIG_CHIP_TYPE "SPC300"
#elif defined (CONFIG_CHIP_MSE500DINI_300)
# define CONFIG_CHIP_FEATURE_INT_MAP_V2 1
# define CONFIG_CHIP_FEATURE_MIU_CTRL 1
@@ -44,6 +45,7 @@
# define CONFIG_CHIP_MAX_MASTER_CLOCK 47000000
# define CONFIG_CHIP_FEATURE_FIXED_ARM_CLOCK 1
# define CONFIG_CHIP_FEATURE_SPCPIO 1
+# define CONFIG_CHIP_TYPE "MSE500DINI"
#elif defined (CONFIG_CHIP_MSE500)
# define CONFIG_CHIP_FEATURE_INT_MAP_V2 1
# define CONFIG_CHIP_FEATURE_MIU_CTRL 1
@@ -54,6 +56,7 @@
# define CONFIG_CHIP_FEATURE_IOMUX 1
# define CONFIG_CHIP_FEATURE_MSEETH 1
# define CONFIG_AFE_MSEAFE 1
+# define CONFIG_CHIP_TYPE "MSE500"
#else
# error "undefined chip"
#endif
@@ -82,7 +85,7 @@
#define CFG_LONGHELP 1
/* Monitor command prompt */
-#define CFG_PROMPT "SPC300-Boot> "
+#define CFG_PROMPT CONFIG_CHIP_TYPE "-Boot> "
/* Console I/O Buffer Size */
#define CFG_CBSIZE 256