* 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)
This commit is contained in:
wdenk 2004-03-23 22:14:11 +00:00
parent 109c0e3ad3
commit 4b9206ed51
35 changed files with 365 additions and 345 deletions

View file

@ -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;
}