summaryrefslogtreecommitdiff
path: root/tools/imximage.h
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.h
parent5f22d88f82082019ce631bb7cb635bb075170c9c (diff)
downloadu-boot-imx-9598f8c30cb3535b96c8b33638f016d67691e076.zip
u-boot-imx-9598f8c30cb3535b96c8b33638f016d67691e076.tar.gz
u-boot-imx-9598f8c30cb3535b96c8b33638f016d67691e076.tar.bz2
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.h')
-rw-r--r--tools/imximage.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/imximage.h b/tools/imximage.h
index 5b5ad0e..36fe095 100644
--- a/tools/imximage.h
+++ b/tools/imximage.h
@@ -29,6 +29,7 @@
#define FLASH_OFFSET_ONENAND 0x100
#define FLASH_OFFSET_NOR 0x1000
#define FLASH_OFFSET_SATA FLASH_OFFSET_STANDARD
+#define FLASH_OFFSET_QSPI 0x1000
/* Initial Load Region Size */
#define FLASH_LOADSIZE_UNDEFINED 0xFFFFFFFF
@@ -39,6 +40,7 @@
#define FLASH_LOADSIZE_ONENAND 0x400
#define FLASH_LOADSIZE_NOR 0x0 /* entire image */
#define FLASH_LOADSIZE_SATA FLASH_LOADSIZE_STANDARD
+#define FLASH_LOADSIZE_QSPI 0x0 /* entire image */
#define IVT_HEADER_TAG 0xD1
#define IVT_VERSION 0x40