]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
tools: imx8image: Fix FSPI alignment to 4 kiB
authorMarek Vasut <marex@nabladev.com>
Wed, 3 Jun 2026 22:32:12 +0000 (00:32 +0200)
committerFabio Estevam <festevam@gmail.com>
Thu, 4 Jun 2026 20:27:17 +0000 (17:27 -0300)
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 <marex@nabladev.com>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
tools/imx8image.c

index 84f46bcaf3719e6dfb561f6453eb8c4928d1e52d..bb1b86679711405517d180af9512142e8aad30a8 100644 (file)
@@ -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",     },