summaryrefslogtreecommitdiff
path: root/tools/imximage.c
diff options
context:
space:
mode:
authorYe.Li <B37916@freescale.com>2015-01-13 15:53:06 +0800
committerStefano Babic <sbabic@denx.de>2015-02-10 12:48:49 +0100
commit9598f8c30cb3535b96c8b33638f016d67691e076 (patch)
treee7ad5d4db4b3822f95beab3659277380c82f4fc8 /tools/imximage.c
parent5f22d88f82082019ce631bb7cb635bb075170c9c (diff)
imx: imximage: Add QuadSPI boot support
Add QuadSPI boot support to imximage tool. Note: The QuadSPI configuration parameters at offset 0x400 are not included in this patch. Need other tools to generate the parameters part. Signed-off-by: Ye.Li <B37916@freescale.com>
Diffstat (limited to 'tools/imximage.c')
-rw-r--r--tools/imximage.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/imximage.c b/tools/imximage.c
index 526b7d490d5..f880edd96b5 100644
--- a/tools/imximage.c
+++ b/tools/imximage.c
@@ -38,6 +38,7 @@ static table_entry_t imximage_boot_offset[] = {
{FLASH_OFFSET_SATA, "sata", "SATA Disk", },
{FLASH_OFFSET_SD, "sd", "SD Card", },
{FLASH_OFFSET_SPI, "spi", "SPI Flash", },
+ {FLASH_OFFSET_QSPI, "qspi", "QSPI NOR Flash",},
{-1, "", "Invalid", },
};
@@ -52,6 +53,7 @@ static table_entry_t imximage_boot_loadsize[] = {
{FLASH_LOADSIZE_SATA, "sata", "SATA Disk", },
{FLASH_LOADSIZE_SD, "sd", "SD Card", },
{FLASH_LOADSIZE_SPI, "spi", "SPI Flash", },
+ {FLASH_LOADSIZE_QSPI, "qspi", "QSPI NOR Flash",},
{-1, "", "Invalid", },
};