summaryrefslogtreecommitdiff
path: root/board/freescale/mx6qsabreauto/imximage.cfg
diff options
context:
space:
mode:
authorPeng Fan <Peng.Fan@freescale.com>2015-03-18 22:04:39 +0800
committerPeng Fan <Peng.Fan@freescale.com>2015-04-29 14:56:07 +0800
commit2ebe0c77e3626c8d6de0e80060233a8507adcae0 (patch)
treece3a936b9f481d7fc9e2b446f5f5ddb10309ed27 /board/freescale/mx6qsabreauto/imximage.cfg
parent080be535aae3fd94a53863cb0a855acca6760445 (diff)
downloadu-boot-imx-2ebe0c77e3626c8d6de0e80060233a8507adcae0.zip
u-boot-imx-2ebe0c77e3626c8d6de0e80060233a8507adcae0.tar.gz
u-boot-imx-2ebe0c77e3626c8d6de0e80060233a8507adcae0.tar.bz2
MLK-10774-20 imx:mx6 add plugin support
Add plugin support Signed-off-by: Peng Fan <Peng.Fan@freescale.com>
Diffstat (limited to 'board/freescale/mx6qsabreauto/imximage.cfg')
-rw-r--r--board/freescale/mx6qsabreauto/imximage.cfg28
1 files changed, 25 insertions, 3 deletions
diff --git a/board/freescale/mx6qsabreauto/imximage.cfg b/board/freescale/mx6qsabreauto/imximage.cfg
index 16bf473..dacbe80 100644
--- a/board/freescale/mx6qsabreauto/imximage.cfg
+++ b/board/freescale/mx6qsabreauto/imximage.cfg
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2012 Freescale Semiconductor, Inc.
+ * Copyright (C) 2012-2015 Freescale Semiconductor, Inc.
*
* SPDX-License-Identifier: GPL-2.0+
*
@@ -10,13 +10,34 @@
*/
/* image version */
+#define __ASSEMBLY__
+#include <config.h>
+
IMAGE_VERSION 2
/*
- * Boot Device : one of
- * spi, sd (the board has no nand neither onenand)
+ * Boot Device : one of spi, sd, eimnor, nand, sata:
+ * spinor: flash_offset: 0x0400
+ * nand: flash_offset: 0x0400
+ * sata: flash_offset: 0x0400
+ * sd/mmc: flash_offset: 0x0400
+ * eimnor: flash_offset: 0x1000
*/
+
+#if defined(CONFIG_SYS_BOOT_EIMNOR)
+BOOT_FROM nor
+#else /* others has the same flash_offset as sd */
BOOT_FROM sd
+#endif
+
+#ifdef CONFIG_USE_PLUGIN
+/*PLUGIN plugin-binary-file IRAM_FREE_START_ADDR*/
+PLUGIN board/freescale/mx6qsabreauto/plugin.bin 0x00907000
+#else
+
+#ifdef CONFIG_SECURE_BOOT
+CSF 0x2000
+#endif
/*
* Device Configuration Data (DCD)
@@ -127,3 +148,4 @@ DATA 4 0x020e0010 0xF00000CF
/* set IPU AXI-id0 Qos=0xf(bypass) AXI-id1 Qos=0x7 */
DATA 4 0x020e0018 0x007F007F
DATA 4 0x020e001c 0x007F007F
+#endif