mtd: nand: mxs_nand_spl: Remove nand size print
It is not much needed to print nand size in SPL during nand boot, and most of nand spl drivers doesn't print the same. Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
This commit is contained in:
committed by
Stefano Babic
parent
ff8822998f
commit
ca9d211e2c
@@ -153,7 +153,6 @@ static int mxs_nand_init(void)
|
|||||||
nand_chip.numchips = 1;
|
nand_chip.numchips = 1;
|
||||||
|
|
||||||
/* identify flash device */
|
/* identify flash device */
|
||||||
puts(": ");
|
|
||||||
if (mxs_flash_ident(mtd)) {
|
if (mxs_flash_ident(mtd)) {
|
||||||
printf("Failed to identify\n");
|
printf("Failed to identify\n");
|
||||||
return -1;
|
return -1;
|
||||||
@@ -167,7 +166,6 @@ static int mxs_nand_init(void)
|
|||||||
mtd->size = nand_chip.chipsize;
|
mtd->size = nand_chip.chipsize;
|
||||||
nand_chip.scan_bbt(mtd);
|
nand_chip.scan_bbt(mtd);
|
||||||
|
|
||||||
printf("%llu MiB\n", (mtd->size / (1024 * 1024)));
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user