diff options
author | Ye.Li <B37916@freescale.com> | 2014-06-12 11:08:52 +0800 |
---|---|---|
committer | Ye.Li <B37916@freescale.com> | 2014-06-17 11:13:54 +0800 |
commit | 1d442553d0b201dc23e3ed0e0e434c2aa6f43d1f (patch) | |
tree | dd10eafd5f9f18ace5cd79a19d18a222e4bc1376 /tools | |
parent | bfcd6e5255bdf057835d9c78468015c65d1c953c (diff) | |
download | u-boot-imx-1d442553d0b201dc23e3ed0e0e434c2aa6f43d1f.zip u-boot-imx-1d442553d0b201dc23e3ed0e0e434c2aa6f43d1f.tar.gz u-boot-imx-1d442553d0b201dc23e3ed0e0e434c2aa6f43d1f.tar.bz2 |
ENGR00315894-52 imximage: Add QuadSPI boot
Adding QuadSPI boot support to imximage tool.
Signed-off-by: Huang Shijie <b32955@freescale.com>
Signed-off-by: Nitin Garg <nitin.garg@freescale.com>
Signed-off-by: Ye.Li <B37916@freescale.com>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/imximage.c | 4 | ||||
-rw-r--r-- | tools/imximage.h | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/tools/imximage.c b/tools/imximage.c index 7e12cec..6b4294f 100644 --- a/tools/imximage.c +++ b/tools/imximage.c @@ -6,6 +6,8 @@ * Marvell Semiconductor <www.marvell.com> * Written-by: Prafulla Wadaskar <prafulla@marvell.com> * + * Copyright (C) 2014 Freescale Semiconductor, Inc. + * * SPDX-License-Identifier: GPL-2.0+ */ @@ -41,6 +43,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 Flash", }, {-1, "", "Invalid", }, }; @@ -55,6 +58,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 Flash", }, {-1, "", "Invalid", }, }; diff --git a/tools/imximage.h b/tools/imximage.h index 28ce671..d9d9d09 100644 --- a/tools/imximage.h +++ b/tools/imximage.h @@ -2,6 +2,8 @@ * (C) Copyright 2009 * Stefano Babic, DENX Software Engineering, sbabic@denx.de. * + * Copyright (C) 2014 Freescale Semiconductor, Inc. + * * SPDX-License-Identifier: GPL-2.0+ */ @@ -31,6 +33,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 @@ -41,6 +44,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 |