]> git.karo-electronics.de Git - karo-tx-uboot.git/blobdiff - board/smdk2410/flash.c
* Code cleanup:
[karo-tx-uboot.git] / board / smdk2410 / flash.c
index 5d04ed43d7453c4b381c16ab6eb6f21764949e09..d7479f085f57b02eee2f4ebdd622bcbdf4a728bc 100644 (file)
@@ -313,7 +313,7 @@ volatile static int write_hword (flash_info_t *info, ulong dest, ushort data)
      */
     result = *addr;
     if ((result & data) != data)
-        return ERR_NOT_ERASED;
+       return ERR_NOT_ERASED;
 
 
     /*
@@ -366,7 +366,7 @@ volatile static int write_hword (flash_info_t *info, ulong dest, ushort data)
     *addr = CMD_READ_ARRAY;
 
     if (chip == ERR || *addr != data)
-        rc = ERR_PROG_ERROR;
+       rc = ERR_PROG_ERROR;
 
     if (iflag)
       enable_interrupts();