* 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

@ -189,7 +189,7 @@ static __inline__ int abortboot(int bootdelay)
}
# if DEBUG_BOOTKEYS
if (!abort)
printf("key timeout\n");
puts ("key timeout\n");
# endif
#ifdef CONFIG_SILENT_CONSOLE
@ -246,7 +246,7 @@ static __inline__ int abortboot(int bootdelay)
if (bootdelay >= 0) {
if (tstc()) { /* we got a key press */
(void) getc(); /* consume input */
printf ("\b\b\b 0");
puts ("\b\b\b 0");
abort = 1; /* don't auto boot */
}
}
@ -473,7 +473,7 @@ void main_loop (void)
else if (len == -2) {
/* -2 means timed out, retry autoboot
*/
printf("\nTimed out waiting for command\n");
puts ("\nTimed out waiting for command\n");
# ifdef CONFIG_RESET_TO_RETRY
/* Reinit board to run initialization code again */
do_reset (NULL, 0, 0, NULL);
@ -484,7 +484,7 @@ void main_loop (void)
#endif
if (len == -1)
printf ("<INTERRUPT>\n");
puts ("<INTERRUPT>\n");
else
rc = run_command (lastcommand, flag);
@ -925,7 +925,7 @@ int run_command (const char *cmd, int flag)
printf ("[%s]\n", finaltoken);
#endif
if (flag & CMD_FLAG_BOOTD) {
printf ("'bootd' recursion detected\n");
puts ("'bootd' recursion detected\n");
rc = -1;
continue;
}