Skip to contentSkip to conversation

mtd: nand: mxs_nand_spl: Fix to remove twise 'NAND' print

PATCH Superseded Jagan Teki 1 participant 2 messages Jan 2, 2017 – Jan 4, 2017

Subsystems (3)
lore
Share & tools
lore

Jagan Teki

author
#0 lore raw

PATCH v2 1/1 mtd: nand: mxs_nand_spl: Fix to remove twise 'NAND' print

SPL from nand will print 'NAND' in boot_from_devices based on the image_loader name, remove the extra 'NAND ' in mxs_nand_spl driver.

Original behaviour:
-------------------
U-Boot SPL 2017.01-rc2-gf84dd8b (Jan 02 2017 - 22:24:19) Trying to boot from NANDNAND : 512 MiB

After the fix:
-------------
U-Boot SPL 2017.01-rc2-gf84dd8b-dirty (Jan 02 2017 - 23:17:00) Trying to boot from NAND: 512 MiB

---
Changes for v2:
- Fix commit message about fix logs

 drivers/mtd/nand/mxs_nand_spl.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/mtd/nand/mxs_nand_spl.c +1 -1
index ff28df4..b6c9208 100644
@@ -153,7 +153,7 @@ static int mxs_nand_init(void)
 	nand_chip.numchips = 1;
 
 	/* identify flash device */
-	puts("NAND : ");
+	puts(": ");
 	if (mxs_flash_ident(mtd)) {
 		printf("Failed to identify\n");
 		return -1;
Signature · 1 line
1.9.1
author
#1 lore raw

PATCH v2 1/1 mtd: nand: mxs_nand_spl: Fix to remove twise 'NAND' print

Quoted 13 lines · Jagan Teki

SPL from nand will print 'NAND' in boot_from_devices based on the image_loader name, remove the extra 'NAND ' in mxs_nand_spl driver.

Original behaviour:
-------------------
U-Boot SPL 2017.01-rc2-gf84dd8b (Jan 02 2017 - 22:24:19) Trying to boot from NANDNAND : 512 MiB

After the fix:
-------------
U-Boot SPL 2017.01-rc2-gf84dd8b-dirty (Jan 02 2017 - 23:17:00) Trying to boot from NAND: 512 MiB

Quoted 5 lines

---
Changes for v2:
- Fix commit message about fix logs

Applied to u-boot-spi/master