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")
Signed-off-by: Marek Vasut <[email protected]>
---
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(-)

diff --git a/tools/imx8image.c b/tools/imx8image.c
index 84f46bcaf37..bb1b8667971 100644
--- a/tools/imx8image.c
+++ b/tools/imx8image.c
@@ -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",     },
-- 
2.53.0

Reply via email to