projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cabe287
)
PXA: Fix Lubbock, remove redundant parenthesis
author
Marek Vasut
<marek.vasut@gmail.com>
Sat, 20 Aug 2011 12:24:49 +0000
(14:24 +0200)
committer
Albert ARIBAUD
<albert.u.boot@aribaud.net>
Sun, 4 Sep 2011 09:36:16 +0000
(11:36 +0200)
Signed-off-by: Marek Vasut <marek.vasut@gmail.com>
board/lubbock/flash.c
patch
|
blob
|
history
diff --git
a/board/lubbock/flash.c
b/board/lubbock/flash.c
index 1ea2893fd043a2d7cf41ae8e9c1e1464dc640951..e1e7807bc10d62bf959d9cd77cb9c787d0383e2c 100644
(file)
--- a/
board/lubbock/flash.c
+++ b/
board/lubbock/flash.c
@@
-408,7
+408,7
@@
static int write_data (flash_info_t *info, ulong dest, FPW data)
/* wait while polling the status register */
while (((status = *addr) & (FPW) 0x00800080) != (FPW) 0x00800080) {
- if (get_timer(start)
)
> CONFIG_SYS_FLASH_WRITE_TOUT) {
+ if (get_timer(start) > CONFIG_SYS_FLASH_WRITE_TOUT) {
*addr = (FPW) 0x00FF00FF; /* restore read mode */
return (1);
}