mirror of
https://github.com/Stichting-MINIX-Research-Foundation/u-boot.git
synced 2025-09-09 12:13:00 -04:00
PXA: Fix Lubbock, remove redundant parenthesis
Signed-off-by: Marek Vasut <marek.vasut@gmail.com>
This commit is contained in:
parent
cabe2878a8
commit
c4f4c760c9
@ -408,7 +408,7 @@ static int write_data (flash_info_t *info, ulong dest, FPW data)
|
|||||||
|
|
||||||
/* wait while polling the status register */
|
/* wait while polling the status register */
|
||||||
while (((status = *addr) & (FPW) 0x00800080) != (FPW) 0x00800080) {
|
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 */
|
*addr = (FPW) 0x00FF00FF; /* restore read mode */
|
||||||
return (1);
|
return (1);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user