UPSTREAM: 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. Change-Id: I1b7893d1cbd880b7e5640f5ecb12910dd7f40fae Signed-off-by: Jagan Teki <jagan@amarulasolutions.com> Signed-off-by: Jon Lin <jon.lin@rock-chips.com> (cherry picked from commit ca9d211e2c7801bc3e194d325ece0d3b583b32d2)
This commit is contained in:
parent
d359f29f6b
commit
02621bf711
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue