projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f013dac
)
Fix data overflow (typo?) in rtc/ds1302.c
author
Wolfgang Denk
<wd@pollux.(none)>
Sun, 4 Dec 2005 10:20:57 +0000
(11:20 +0100)
committer
Wolfgang Denk
<wd@pollux.(none)>
Sun, 4 Dec 2005 10:20:57 +0000
(11:20 +0100)
CHANGELOG
patch
|
blob
|
history
rtc/ds1302.c
patch
|
blob
|
history
diff --git
a/CHANGELOG
b/CHANGELOG
index 3762f2116ee41a2c35919e7caa3a688db5dca0cd..4ed9d6e30b5dd34bb1ce4814f2273f9580406d17 100644
(file)
--- a/
CHANGELOG
+++ b/
CHANGELOG
@@
-2,6
+2,8
@@
Changes for U-Boot 1.1.4:
======================================================================
+* Fix data overflow (typo?) in rtc/ds1302.c
+
* Fix U-Boot compilation for MIPS boards using ELDK 4.0
* Add support for TQM8541/8555 boards, TQM85xx support reworked:
diff --git
a/rtc/ds1302.c
b/rtc/ds1302.c
index ec5616a677634d451a15447ce9437a351052994a..98dce899a97f7998b11f58e8c7897ba9f7e0b95a 100644
(file)
--- a/
rtc/ds1302.c
+++ b/
rtc/ds1302.c
@@
-226,7
+226,7
@@
rtc_init(void)
if (bbclk.year>9) {
printf("ds1302: Year was corrupted, fixing\n");
- bbclk.year10=100
;
/* 2000 - why not? ;) */
+ bbclk.year10=100
/10;
/* 2000 - why not? ;) */
bbclk.year=0;
mod=1;
}