[PATCH] mtd: spi-nor: Indent SF: just like other boot time messages

Marek Vasut marex at nabladev.com
Fri Jun 12 00:45:19 CEST 2026


From: Alexander Koch <akoch at initse.com>

Indent SF: just like other boot time messages. Change the original indent:

"
DRAM:  3.5 GiB
Core:  310 devices, 34 uclasses, devicetree: separate
SF: Detected w25q128jw with page size 256 Bytes, erase size 4 KiB, total 16 MiB
"

to the fixed indent:

"
DRAM:  3.5 GiB
Core:  310 devices, 34 uclasses, devicetree: separate
SF:    Detected w25q128jw with page size 256 Bytes, erase size 4 KiB, total 16 MiB
    ^^^
"

No functional change.

Signed-off-by: Alexander Koch <akoch at initse.com>
Signed-off-by: Marek Vasut <marex at nabladev.com>
---
Cc: Alexander Koch <akoch at initse.com>
Cc: David Lechner <dlechner at baylibre.com>
Cc: Flaviu Nistor <flaviu.nistor at gmail.com>
Cc: Miquel Raynal <miquel.raynal at bootlin.com>
Cc: Takahiro Kuwano <takahiro.kuwano at infineon.com>
Cc: Tom Rini <trini at konsulko.com>
Cc: Tudor Ambarus <tudor.ambarus at linaro.org>
Cc: Vignesh R <vigneshr at ti.com>
Cc: u-boot at lists.denx.de
---
 drivers/mtd/spi/spi-nor-core.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/mtd/spi/spi-nor-core.c b/drivers/mtd/spi/spi-nor-core.c
index 937d79af64e..c73f2c7c3f8 100644
--- a/drivers/mtd/spi/spi-nor-core.c
+++ b/drivers/mtd/spi/spi-nor-core.c
@@ -4758,7 +4758,7 @@ int spi_nor_scan(struct spi_nor *nor)
 	nor->sector_size = mtd->erasesize;
 
 #ifndef CONFIG_XPL_BUILD
-	printf("SF: Detected %s with page size ", nor->name);
+	printf("SF:    Detected %s with page size ", nor->name);
 	print_size(nor->page_size, ", erase size ");
 	print_size(nor->erase_size, ", total ");
 	print_size(nor->size, "");
-- 
2.53.0



More information about the U-Boot mailing list