]> git.sur5r.net Git - u-boot/blobdiff - board/impa7/flash.c
Add Auto-MDIX support for INCA-IP
[u-boot] / board / impa7 / flash.c
index 7db0b3289dc6c260a7f2495030218474a618f842..3e380e5f498afb96d277aa6e967e4ba157d11826 100644 (file)
@@ -53,7 +53,7 @@ ulong flash_init(void)
        else if (i == 1)
          flashbase = PHYS_FLASH_2;
        else
-         panic("configured to many flash banks!\n");
+         panic("configured too many flash banks!\n");
        for (j = 0; j < flash_info[i].sector_count; j++)
        {
            if (j <= 7)
@@ -221,7 +221,7 @@ static int write_word (flash_info_t *info, ulong dest, ulong data)
     /* Check if Flash is (sufficiently) erased
      */
     if ((*addr & data) != data)
-        return ERR_NOT_ERASED;
+       return ERR_NOT_ERASED;
 
     /*
      * Disable interrupts which might cause a timeout