When IMX_FIXED_IVT_OFFSET defined, use FLASH_OFFSET_STANDARD for different boot medias. This is needed for i.MX7.
Signed-off-by: Peng Fan <peng....@nxp.com> Cc: Stefano Babic <sba...@denx.de> --- tools/imximage.h | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/tools/imximage.h b/tools/imximage.h index c7b9b5c..531dc7b 100644 --- a/tools/imximage.h +++ b/tools/imximage.h @@ -26,10 +26,17 @@ #define FLASH_OFFSET_NAND FLASH_OFFSET_STANDARD #define FLASH_OFFSET_SD FLASH_OFFSET_STANDARD #define FLASH_OFFSET_SPI FLASH_OFFSET_STANDARD +#define FLASH_OFFSET_SATA FLASH_OFFSET_STANDARD + +#ifdef CONFIG_IMX_FIXED_IVT_OFFSET +#define FLASH_OFFSET_ONENAND FLASH_OFFSET_STANDARD +#define FLASH_OFFSET_NOR FLASH_OFFSET_STANDARD +#define FLASH_OFFSET_QSPI FLASH_OFFSET_STANDARD +#else #define FLASH_OFFSET_ONENAND 0x100 #define FLASH_OFFSET_NOR 0x1000 -#define FLASH_OFFSET_SATA FLASH_OFFSET_STANDARD #define FLASH_OFFSET_QSPI 0x1000 +#endif /* Initial Load Region Size */ #define FLASH_LOADSIZE_UNDEFINED 0xFFFFFFFF -- 2.6.2 _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot