Skip to content
Snippets Groups Projects
Commit d6e8ed83 authored by Jean-Christophe PLAGNIOL-VILLARD's avatar Jean-Christophe PLAGNIOL-VILLARD
Browse files

versatile: specify the board type on the prompt


Signed-off-by: default avatarJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: default avatarPeter Pearse <peter.pearse@arm.com>
Cc: Catalin Marinas <catalin.marinas@arm.com>
parent 5ccc2d99
No related branches found
No related tags found
No related merge requests found
...@@ -39,6 +39,10 @@ ...@@ -39,6 +39,10 @@
#define CONFIG_VERSATILE 1 /* in Versatile Platform Board */ #define CONFIG_VERSATILE 1 /* in Versatile Platform Board */
#define CONFIG_ARCH_VERSATILE 1 /* Specifically, a Versatile */ #define CONFIG_ARCH_VERSATILE 1 /* Specifically, a Versatile */
#ifndef CONFIG_ARCH_VERSATILE_AB /* AB */
#define CONFIG_ARCH_VERSATILE_PB /* Versatile PB is default */
#endif
#define CONFIG_SYS_MEMTEST_START 0x100000 #define CONFIG_SYS_MEMTEST_START 0x100000
#define CONFIG_SYS_MEMTEST_END 0x10000000 #define CONFIG_SYS_MEMTEST_END 0x10000000
#define CONFIG_SYS_HZ (1000000 / 256) #define CONFIG_SYS_HZ (1000000 / 256)
...@@ -101,7 +105,6 @@ ...@@ -101,7 +105,6 @@
/* /*
* Command line configuration. * Command line configuration.
*/ */
#define CONFIG_CMD_BDI #define CONFIG_CMD_BDI
#define CONFIG_CMD_DHCP #define CONFIG_CMD_DHCP
#define CONFIG_CMD_FLASH #define CONFIG_CMD_FLASH
...@@ -132,8 +135,13 @@ ...@@ -132,8 +135,13 @@
* Miscellaneous configurable options * Miscellaneous configurable options
*/ */
#define CONFIG_SYS_LONGHELP /* undef to save memory */ #define CONFIG_SYS_LONGHELP /* undef to save memory */
#define CONFIG_SYS_PROMPT "Versatile # " /* Monitor Command Prompt */
#define CONFIG_SYS_CBSIZE 256 /* Console I/O Buffer Size */ #define CONFIG_SYS_CBSIZE 256 /* Console I/O Buffer Size */
/* Monitor Command Prompt */
#ifdef CONFIG_ARCH_VERSATILE_AB
# define CONFIG_SYS_PROMPT "VersatileAB # "
#else
# define CONFIG_SYS_PROMPT "VersatilePB # "
#endif
/* Print Buffer Size */ /* Print Buffer Size */
#define CONFIG_SYS_PBSIZE \ #define CONFIG_SYS_PBSIZE \
(CONFIG_SYS_CBSIZE + sizeof(CONFIG_SYS_PROMPT) + 16) (CONFIG_SYS_CBSIZE + sizeof(CONFIG_SYS_PROMPT) + 16)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment