diff options
| author | wdenk <wdenk> | 2003-10-10 10:05:42 +0000 | 
|---|---|---|
| committer | wdenk <wdenk> | 2003-10-10 10:05:42 +0000 | 
| commit | f72da3406bf6f1c1bce9aa03b07d070413a916af (patch) | |
| tree | 5494a96d6da4706d1add61cb36d8bace834fbb8f /lib_arm/board.c | |
| parent | 5da627a424b3ad2d38a81886ba4a18e5123a6788 (diff) | |
| download | olio-uboot-2014.01-f72da3406bf6f1c1bce9aa03b07d070413a916af.tar.xz olio-uboot-2014.01-f72da3406bf6f1c1bce9aa03b07d070413a916af.zip | |
Added config option CONFIG_SILENT_CONSOLE.  See doc/README.silentLABEL_2003_10_10_1200
for more information
Diffstat (limited to 'lib_arm/board.c')
| -rw-r--r-- | lib_arm/board.c | 18 | 
1 files changed, 18 insertions, 0 deletions
| diff --git a/lib_arm/board.c b/lib_arm/board.c index 493112d55..f3f831f4f 100644 --- a/lib_arm/board.c +++ b/lib_arm/board.c @@ -111,6 +111,12 @@ static int init_baudrate (void)  static int display_banner (void)  { +	DECLARE_GLOBAL_DATA_PTR; + +#ifdef CONFIG_SILENT_CONSOLE +	if (gd->flags & GD_FLG_SILENT) +		return (0); +#endif  	printf ("\n\n%s\n\n", version_string);  	printf ("U-Boot code: %08lX -> %08lX  BSS: -> %08lX\n", @@ -122,6 +128,7 @@ static int display_banner (void)  	printf ("IRQ Stack: %08lx\n", IRQ_STACK_START);  	printf ("FIQ Stack: %08lx\n", FIQ_STACK_START);  #endif +  	return (0);  } @@ -137,6 +144,11 @@ static int display_dram_config (void)  	DECLARE_GLOBAL_DATA_PTR;  	int i; +#ifdef CONFIG_SILENT_CONSOLE +	if (gd->flags & GD_FLG_SILENT) +		return (0); +#endif +  	puts ("DRAM Configuration:\n");  	for(i=0; i<CONFIG_NR_DRAM_BANKS; i++) { @@ -149,6 +161,12 @@ static int display_dram_config (void)  static void display_flash_config (ulong size)  { +	DECLARE_GLOBAL_DATA_PTR; + +#ifdef CONFIG_SILENT_CONSOLE +	if (gd->flags & GD_FLG_SILENT) +		return; +#endif  	puts ("Flash: ");  	print_size (size, "\n");  } |