PXA: Fix Lubbock, remove redundant parenthesis
Signed-off-by: Marek Vasut <marek.vasut@gmail.com>
This commit is contained in:
parent
cabe2878a8
commit
c4f4c760c9
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue