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/cmd_diag.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'common/cmd_diag.c') diff --git a/common/cmd_diag.c b/common/cmd_diag.c index 861f005289..45c4b31f5f 100644 --- a/common/cmd_diag.c +++ b/common/cmd_diag.c @@ -37,11 +37,11 @@ int do_diag (cmd_tbl_t * cmdtp, int flag, int argc, char *argv[]) if (argc == 1 || strcmp (argv[1], "run") != 0) { /* List test info */ if (argc == 1) { - printf ("Available hardware tests:\n"); + puts ("Available hardware tests:\n"); post_info (NULL); - printf ("Use 'diag [ [ ...]]'" + puts ("Use 'diag [ [ ...]]'" " to get more info.\n"); - printf ("Use 'diag run [ [ ...]]'" + puts ("Use 'diag run [ [ ...]]'" " to run tests.\n"); } else { for (i = 1; i < argc; i++) { -- cgit v1.2.1