]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
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 1ea2893fd043a2d7cf41ae8e9c1e1464dc640951..e1e7807bc10d62bf959d9cd77cb9c787d0383e2c 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);
                }