[U-Boot] [PATCH 1/6] PXA: Fix Lubbock, remove redundant parenthesis
Marek Vasut
marek.vasut at gmail.com
Sun Aug 28 03:42:12 CEST 2011
Signed-off-by: Marek Vasut <marek.vasut at gmail.com>
---
board/lubbock/flash.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
NOTE: Albert, I'll get you these four PXA-related in a PULL RQ later.
diff --git a/board/lubbock/flash.c b/board/lubbock/flash.c
index 1ea2893..e1e7807 100644
--- 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);
}
--
1.7.5.4
More information about the U-Boot
mailing list