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) --- net/nfs.c | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) (limited to 'net/nfs.c') diff --git a/net/nfs.c b/net/nfs.c index ca2a108bae..137b3bf839 100644 --- a/net/nfs.c +++ b/net/nfs.c @@ -746,19 +746,14 @@ NfsStart (void) print_IPaddr (NetOurGatewayIP) ; } } - putc ('\n'); - - printf ("Filename '%s/%s'.", nfs_path, nfs_filename); + printf ("\nFilename '%s/%s'.", nfs_path, nfs_filename); if (NetBootFileSize) { printf (" Size is 0x%x Bytes = ", NetBootFileSize<<9); print_size (NetBootFileSize<<9, ""); } - putc ('\n'); - - printf ("Load address: 0x%lx\n", load_addr); - - printf ("Loading: *\b"); + printf ("\nLoad address: 0x%lx\n" + "Loading: *\b", load_addr); NetSetTimeout (NFS_TIMEOUT * CFG_HZ, NfsTimeout); NetSetHandler (NfsHandler); -- cgit v1.2.1