summaryrefslogtreecommitdiff
path: root/tools/imximage.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/imximage.h')
-rw-r--r--tools/imximage.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/tools/imximage.h b/tools/imximage.h
index 9685d8c..d5be43d0 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-2015 Freescale Semiconductor, Inc.
+ *
* SPDX-License-Identifier: GPL-2.0+
*/
@@ -28,10 +30,18 @@
#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