]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - drivers/mtd/cfi_flash.c
cfi_flash: Fix "Unknown FLASH" error message
[karo-tx-uboot.git] / drivers / mtd / cfi_flash.c
index 02dd27ffb1f9154305bae578682cb08af4f26925..798902f337698d9e54dad633dcc134481fa2069e 100644 (file)
@@ -2033,7 +2033,7 @@ unsigned long flash_init (void)
                        printf ("## Unknown FLASH on Bank %d "
                                "- Size = 0x%08lx = %ld MB\n",
                                i+1, flash_info[i].size,
-                               flash_info[i].size << 20);
+                               flash_info[i].size >> 20);
 #endif /* CONFIG_SYS_FLASH_QUIET_TEST */
                }
 #ifdef CONFIG_SYS_FLASH_PROTECTION