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) --- common/cmd_eeprom.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'common/cmd_eeprom.c') diff --git a/common/cmd_eeprom.c b/common/cmd_eeprom.c index 5193b13ab..80b8ccc1e 100644 --- a/common/cmd_eeprom.c +++ b/common/cmd_eeprom.c @@ -75,7 +75,7 @@ int do_eeprom ( cmd_tbl_t * cmdtp, int flag, int argc, char *argv[]) rcode = eeprom_read (dev_addr, off, (uchar *) addr, cnt); - printf ("done\n"); + puts ("done\n"); return rcode; } else if (strcmp (argv[1], "write") == 0) { int rcode; @@ -84,7 +84,7 @@ int do_eeprom ( cmd_tbl_t * cmdtp, int flag, int argc, char *argv[]) rcode = eeprom_write (dev_addr, off, (uchar *) addr, cnt); - printf ("done\n"); + puts ("done\n"); return rcode; } } @@ -295,7 +295,7 @@ int eeprom_write (unsigned dev_addr, unsigned offset, uchar *buffer, unsigned cn #endif } if (i == MAX_ACKNOWLEDGE_POLLS) { - printf("EEPROM poll acknowledge failed\n"); + puts ("EEPROM poll acknowledge failed\n"); rcode = 1; } } -- cgit v1.2.3