diff options
author | wdenk <wdenk> | 2004-03-23 22:14:11 +0000 |
---|---|---|
committer | wdenk <wdenk> | 2004-03-23 22:14:11 +0000 |
commit | 4b9206ed51a3e3dc06dca2a3930a24e4f0025f3d (patch) | |
tree | 2eb73ab74a66356c52d588bb06f803af55897e18 /net/bootp.c | |
parent | 109c0e3ad32428dd65ed89f882faf59e30132494 (diff) | |
download | u-boot-imx-4b9206ed51a3e3dc06dca2a3930a24e4f0025f3d.zip u-boot-imx-4b9206ed51a3e3dc06dca2a3930a24e4f0025f3d.tar.gz u-boot-imx-4b9206ed51a3e3dc06dca2a3930a24e4f0025f3d.tar.bz2 |
* 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 'net/bootp.c')
-rw-r--r-- | net/bootp.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/net/bootp.c b/net/bootp.c index 9eae34f..21ce7b2 100644 --- a/net/bootp.c +++ b/net/bootp.c @@ -268,7 +268,7 @@ static void BootpVendorProcess (u8 * ext, int size) } #ifdef DEBUG_BOOTP_EXT - printf ("[BOOTP] Received fields: \n"); + puts ("[BOOTP] Received fields: \n"); if (NetOurSubnetMask) { puts ("NetOurSubnetMask : "); print_IPaddr (NetOurSubnetMask); @@ -585,7 +585,7 @@ BootpRequest (void) } } #ifdef DEBUG - printf("BootpRequest => Our Mac: "); + puts ("BootpRequest => Our Mac: "); for (reg=0; reg<6; reg++) { printf ("%x%c", bi_enetaddr[reg], @@ -887,9 +887,9 @@ DhcpHandler(uchar * pkt, unsigned dest, unsigned src, unsigned len) DhcpOptionsProcess(&bp->bp_vend[4]); BootpCopyNetParams(bp); /* Store net params from reply */ dhcp_state = BOUND; - printf("DHCP client bound to address "); + puts ("DHCP client bound to address "); print_IPaddr(NetOurIP); - printf("\n"); + putc ('\n'); /* Obey the 'autoload' setting */ if ((s = getenv("autoload")) != NULL) { @@ -915,7 +915,7 @@ DhcpHandler(uchar * pkt, unsigned dest, unsigned src, unsigned len) } break; default: - printf("DHCP: INVALID STATE\n"); + puts ("DHCP: INVALID STATE\n"); break; } |