From 4b9206ed51a3e3dc06dca2a3930a24e4f0025f3d Mon Sep 17 00:00:00 2001 From: wdenk Date: Tue, 23 Mar 2004 22:14:11 +0000 Subject: * 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) --- common/main.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'common/main.c') diff --git a/common/main.c b/common/main.c index f465e2c..817c1b4 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 ("\n"); + puts ("\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; } -- cgit v1.1