diff options
| author | wdenk <wdenk> | 2004-03-23 22:14:11 +0000 | 
|---|---|---|
| committer | wdenk <wdenk> | 2004-03-23 22:14:11 +0000 | 
| commit | 4b9206ed51a3e3dc06dca2a3930a24e4f0025f3d (patch) | |
| tree | 2eb73ab74a66356c52d588bb06f803af55897e18 /common/main.c | |
| parent | 109c0e3ad32428dd65ed89f882faf59e30132494 (diff) | |
| download | olio-uboot-2014.01-4b9206ed51a3e3dc06dca2a3930a24e4f0025f3d.tar.xz olio-uboot-2014.01-4b9206ed51a3e3dc06dca2a3930a24e4f0025f3d.zip | |
* Patches by Thomas Viehweger, 16 Mar 2004:
  - show PCI clock frequency on MPC8260 systems
  - add FCC_PSMR_RMII flag for HiP7 processors
  - in do_jffs2_fsload(), take load address from load_addr if not set
    explicit, update load_addr otherwise
  - replaced printf by putc/puts when no formatting is needed
    (smaller code size, faster execution)
Diffstat (limited to 'common/main.c')
| -rw-r--r-- | common/main.c | 10 | 
1 files changed, 5 insertions, 5 deletions
| diff --git a/common/main.c b/common/main.c index f465e2cf4..817c1b461 100644 --- a/common/main.c +++ b/common/main.c @@ -189,7 +189,7 @@ static __inline__ int abortboot(int bootdelay)  	}  #  if DEBUG_BOOTKEYS  	if (!abort) -		printf("key timeout\n"); +		puts ("key timeout\n");  #  endif  #ifdef CONFIG_SILENT_CONSOLE @@ -246,7 +246,7 @@ static __inline__ int abortboot(int bootdelay)  	if (bootdelay >= 0) {  		if (tstc()) {	/* we got a key press	*/  			(void) getc();  /* consume input	*/ -			printf ("\b\b\b 0"); +			puts ("\b\b\b 0");  			abort = 1; 	/* don't auto boot	*/  		}  	} @@ -473,7 +473,7 @@ void main_loop (void)  		else if (len == -2) {  			/* -2 means timed out, retry autoboot  			 */ -			printf("\nTimed out waiting for command\n"); +			puts ("\nTimed out waiting for command\n");  # ifdef CONFIG_RESET_TO_RETRY  			/* Reinit board to run initialization code again */  			do_reset (NULL, 0, 0, NULL); @@ -484,7 +484,7 @@ void main_loop (void)  #endif  		if (len == -1) -			printf ("<INTERRUPT>\n"); +			puts ("<INTERRUPT>\n");  		else  			rc = run_command (lastcommand, flag); @@ -925,7 +925,7 @@ int run_command (const char *cmd, int flag)  			printf ("[%s]\n", finaltoken);  #endif  			if (flag & CMD_FLAG_BOOTD) { -				printf ("'bootd' recursion detected\n"); +				puts ("'bootd' recursion detected\n");  				rc = -1;  				continue;  			} |