Skip to contentSkip to conversation

tools: imx8image: Fix FSPI alignment to 4 kiB

PATCH In review Marek Vasut 3 participants 3 messages Jun 3 – Jun 5 Arm i.MX and Layerscape

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 tools: imx8image: Fix FSPI alignment to 4 kiB

The SPI NOR minimum subsector size is 4 kiB, update the alignment. THis is particularly important in case of embedded DUMMY_DDR, which must be at at least 4 kiB aligned offset.

Fixes a2b96ece5be1 ("tools: add i.MX8/8X image support")

---
Cc: Alice Guo <[email protected]>
Cc: Fabio Estevam <[email protected]>
Cc: Fedor Ross <[email protected]>
Cc: Ilias Apalodimas <[email protected]>
Cc: Peng Fan <[email protected]>
Cc: Simona Toaca <[email protected]>
Cc: Tom Rini <[email protected]>
Cc: [email protected]

---
 tools/imx8image.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tools/imx8image.c +1 -1
index 84f46bcaf37..bb1b8667971 100644
@@ -80,7 +80,7 @@ static table_entry_t imx8image_core_entries[] = {
 static table_entry_t imx8image_sector_size[] = {
 	{0x400,		"sd",			"sd/emmc",},
 	{0x400,		"emmc_fastboot",	"emmc fastboot",},
-	{0x400,		"fspi",			"flexspi",	},
+	{0x1000,	"fspi",			"flexspi",	},
 	{0x1000,	"nand_4k",		"nand 4K",	},
 	{0x2000,	"nand_8k",		"nand 8K",	},
 	{0x4000,	"nand_16k",		"nand 16K",	},
Signature · 1 line
2.53.0
Reviewed-by Peng Fan on v1 1/1
#1 lore raw
Quoted 8 lines

Subject: [PATCH] tools: imx8image: Fix FSPI alignment to 4 kiB

The SPI NOR minimum subsector size is 4 kiB, update the alignment. THis is particularly important in case of embedded DUMMY_DDR, which must be at at least 4 kiB aligned offset.

Fixes a2b96ece5be1 ("tools: add i.MX8/8X image support")
reviewer
#2 lore raw
In reply to Marek Vasut
Quoted 7 lines · Marek Vasut

The SPI NOR minimum subsector size is 4 kiB, update the alignment. THis is particularly important in case of embedded DUMMY_DDR, which must be at at least 4 kiB aligned offset.

Fixes a2b96ece5be1 ("tools: add i.MX8/8X image support")

Applied to u-boot-imx/master, thanks.