projects
/
kernel
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
423e2a4
)
s5pc110: checksum: fix checksum routine
author
Minkyu Kang
<mk7.kang@samsung.com>
Mon, 28 Dec 2009 07:35:33 +0000
(16:35 +0900)
committer
Minkyu Kang
<mk7.kang@samsung.com>
Mon, 28 Dec 2009 07:35:33 +0000
(16:35 +0900)
evt1 needs to sum reserved page, but evt0 doesn't need it.
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
onenand_ipl/board/samsung/universal/checksum.c
patch
|
blob
|
history
diff --git
a/onenand_ipl/board/samsung/universal/checksum.c
b/onenand_ipl/board/samsung/universal/checksum.c
index
afa79d7
..
bbcd088
100644
(file)
--- a/
onenand_ipl/board/samsung/universal/checksum.c
+++ b/
onenand_ipl/board/samsung/universal/checksum.c
@@
-74,6
+74,8
@@
int main(int argc, char *argv[])
res = i / PAGE_SIZE;
if (res % 2) {
+ if (evt == 0)
+ i += PAGE_SIZE;
/*
* if 1st page's reverved area,
* copy the data to 2nd page