summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorMarek Vasut <marek.vasut@gmail.com>2011-08-20 14:24:49 +0200
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2011-09-04 11:36:16 +0200
commitc4f4c760c9bdbad6c4f286edfff79e34d96ec5f6 (patch)
treed73bceddf2fd39e126b5b5d738fe1079a564bc31 /board
parentcabe2878a8201441a8aa4c482acb568f9ca137f0 (diff)
downloadu-boot-imx-c4f4c760c9bdbad6c4f286edfff79e34d96ec5f6.zip
u-boot-imx-c4f4c760c9bdbad6c4f286edfff79e34d96ec5f6.tar.gz
u-boot-imx-c4f4c760c9bdbad6c4f286edfff79e34d96ec5f6.tar.bz2
PXA: Fix Lubbock, remove redundant parenthesis
Signed-off-by: Marek Vasut <marek.vasut@gmail.com>
Diffstat (limited to 'board')
-rw-r--r--board/lubbock/flash.c2
1 files changed, 1 insertions, 1 deletions
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);
}