diff options
author | wdenk <wdenk> | 2004-03-23 22:14:11 (GMT) |
---|---|---|
committer | wdenk <wdenk> | 2004-03-23 22:14:11 (GMT) |
commit | 4b9206ed51a3e3dc06dca2a3930a24e4f0025f3d (patch) | |
tree | 2eb73ab74a66356c52d588bb06f803af55897e18 /common/console.c | |
parent | 109c0e3ad32428dd65ed89f882faf59e30132494 (diff) | |
download | u-boot-4b9206ed51a3e3dc06dca2a3930a24e4f0025f3d.tar.xz |
* 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/console.c')
-rw-r--r-- | common/console.c | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/common/console.c b/common/console.c index 5fe364e..f858fb3 100644 --- a/common/console.c +++ b/common/console.c @@ -456,23 +456,23 @@ int console_init_r (void) #ifndef CFG_CONSOLE_INFO_QUIET /* Print information */ - printf ("In: "); + puts ("In: "); if (stdio_devices[stdin] == NULL) { - printf ("No input devices available!\n"); + puts ("No input devices available!\n"); } else { printf ("%s\n", stdio_devices[stdin]->name); } - printf ("Out: "); + puts ("Out: "); if (stdio_devices[stdout] == NULL) { - printf ("No output devices available!\n"); + puts ("No output devices available!\n"); } else { printf ("%s\n", stdio_devices[stdout]->name); } - printf ("Err: "); + puts ("Err: "); if (stdio_devices[stderr] == NULL) { - printf ("No error devices available!\n"); + puts ("No error devices available!\n"); } else { printf ("%s\n", stdio_devices[stderr]->name); } @@ -546,23 +546,23 @@ int console_init_r (void) #ifndef CFG_CONSOLE_INFO_QUIET /* Print information */ - printf ("In: "); + puts ("In: "); if (stdio_devices[stdin] == NULL) { - printf ("No input devices available!\n"); + puts ("No input devices available!\n"); } else { printf ("%s\n", stdio_devices[stdin]->name); } - printf ("Out: "); + puts ("Out: "); if (stdio_devices[stdout] == NULL) { - printf ("No output devices available!\n"); + puts ("No output devices available!\n"); } else { printf ("%s\n", stdio_devices[stdout]->name); } - printf ("Err: "); + puts ("Err: "); if (stdio_devices[stderr] == NULL) { - printf ("No error devices available!\n"); + puts ("No error devices available!\n"); } else { printf ("%s\n", stdio_devices[stderr]->name); } |