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 /common/cmd_eeprom.c | |
parent | 109c0e3ad32428dd65ed89f882faf59e30132494 (diff) |
* 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 'common/cmd_eeprom.c')
-rw-r--r-- | common/cmd_eeprom.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/common/cmd_eeprom.c b/common/cmd_eeprom.c index 5193b13ab61..80b8ccc1e8d 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; } } |