PXA: Fix Lubbock, remove redundant parenthesis
authorMarek Vasut <marek.vasut@gmail.com>
Sat, 20 Aug 2011 12:24:49 +0000 (14:24 +0200)
committerAlbert 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

index 1ea2893..e1e7807 100644 (file)
@@ -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);
                }