summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tools/imximage.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/tools/imximage.h b/tools/imximage.h
index d5917ce..97c3253 100644
--- a/tools/imximage.h
+++ b/tools/imximage.h
@@ -30,10 +30,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