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_date.c | |
| parent | 109c0e3ad32428dd65ed89f882faf59e30132494 (diff) | |
| download | olio-uboot-2014.01-4b9206ed51a3e3dc06dca2a3930a24e4f0025f3d.tar.xz olio-uboot-2014.01-4b9206ed51a3e3dc06dca2a3930a24e4f0025f3d.zip | |
* 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_date.c')
| -rw-r--r-- | common/cmd_date.c | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/common/cmd_date.c b/common/cmd_date.c index 4648a0e6b..a569d78ca 100644 --- a/common/cmd_date.c +++ b/common/cmd_date.c @@ -47,14 +47,14 @@ int do_date (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])  	switch (argc) {  	case 2:			/* set date & time */  		if (strcmp(argv[1],"reset") == 0) { -			printf ("Reset RTC...\n"); +			puts ("Reset RTC...\n");  			rtc_reset ();  		} else {  			/* initialize tm with current time */  			rtc_get (&tm);  			/* insert new date & time */  			if (mk_date (argv[1], &tm) != 0) { -				printf ("## Bad date format\n"); +				puts ("## Bad date format\n");  				return 1;  			}  			/* and write to RTC */ |