diff options
author | wdenk | 2004-03-23 22:14:11 +0000 |
---|---|---|
committer | wdenk | 2004-03-23 22:14:11 +0000 |
commit | 4b9206ed51a3e3dc06dca2a3930a24e4f0025f3d (patch) | |
tree | 2eb73ab74a66356c52d588bb06f803af55897e18 /common/cmd_elf.c | |
parent | 109c0e3ad32428dd65ed89f882faf59e30132494 (diff) |
* 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/cmd_elf.c')
-rw-r--r-- | common/cmd_elf.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/common/cmd_elf.c b/common/cmd_elf.c index f039724a064..eb0cc71fb36 100644 --- a/common/cmd_elf.c +++ b/common/cmd_elf.c @@ -103,7 +103,7 @@ int do_bootvx ( cmd_tbl_t *cmdtp, int flag, int argc, char *argv[]) if ((tmp = getenv ("loadaddr")) != NULL) { addr = simple_strtoul (tmp, NULL, 16); } else { - printf ("No load address provided\n"); + puts ("No load address provided\n"); return 1; } @@ -133,7 +133,7 @@ int do_bootvx ( cmd_tbl_t *cmdtp, int flag, int argc, char *argv[]) tmp = (char *) CFG_ETHERNET_MAC_ADDR; memcpy ((char *) tmp, (char *) &gd->bd->bi_enetaddr[0], 6); #else - printf ("## Ethernet MAC address not copied to NV RAM\n"); + puts ("## Ethernet MAC address not copied to NV RAM\n"); #endif /* @@ -200,7 +200,7 @@ int do_bootvx ( cmd_tbl_t *cmdtp, int flag, int argc, char *argv[]) * to just copy */ - printf ("No bootargs defined\n"); + puts ("No bootargs defined\n"); return 1; #endif } @@ -214,7 +214,7 @@ int do_bootvx ( cmd_tbl_t *cmdtp, int flag, int argc, char *argv[]) if (valid_elf_image (addr)) { addr = load_elf_image (addr); } else { - printf ("## Not an ELF image, assuming binary\n"); + puts ("## Not an ELF image, assuming binary\n"); /* leave addr as load_addr */ } @@ -224,7 +224,7 @@ int do_bootvx ( cmd_tbl_t *cmdtp, int flag, int argc, char *argv[]) ((void (*)(void)) addr) (); - printf ("## vxWorks terminated\n"); + puts ("## vxWorks terminated\n"); return 1; } |