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:
8a29d62
)
s5pc100: OneNAND IPL: Use macro to read cmd
author
Kyungmin Park
<kyungmin.park@samsung.com>
Tue, 21 Jul 2009 00:44:48 +0000
(09:44 +0900)
committer
Kyungmin Park
<kyungmin.park@samsung.com>
Tue, 21 Jul 2009 00:44:48 +0000
(09:44 +0900)
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
onenand_ipl/onenand_read.c
patch
|
blob
|
history
diff --git
a/onenand_ipl/onenand_read.c
b/onenand_ipl/onenand_read.c
index
2602dde
..
7ffc9a9
100644
(file)
--- a/
onenand_ipl/onenand_read.c
+++ b/
onenand_ipl/onenand_read.c
@@
-49,7
+49,7
@@
static inline int onenand_read_page(ulong block, ulong page,
pagesize >>= 2;
for (i = 0; i < pagesize; i++)
- *p++ =
*(volatile unsigned int *)
(CMD_MAP_01(mem_addr));
+ *p++ =
readl
(CMD_MAP_01(mem_addr));
return 0;
}