summaryrefslogtreecommitdiff
path: root/board/freescale/mx7dsabresd/imximage.cfg
diff options
context:
space:
mode:
authorPeng Fan <peng.fan@nxp.com>2017-02-07 14:20:50 +0800
committerYe Li <ye.li@nxp.com>2017-04-05 17:23:06 +0800
commitafe95994874dc81c8ffbcc46d59b3bc1cc388540 (patch)
tree5ae6a25a9e9b2d6565a0e291623fa1f7f5b40f92 /board/freescale/mx7dsabresd/imximage.cfg
parentd197ef2cd86db8350adf796ae9b77316830bdb75 (diff)
downloadu-boot-imx-afe95994874dc81c8ffbcc46d59b3bc1cc388540.zip
u-boot-imx-afe95994874dc81c8ffbcc46d59b3bc1cc388540.tar.gz
u-boot-imx-afe95994874dc81c8ffbcc46d59b3bc1cc388540.tar.bz2
MLK-14418-10 imx: mx7dsabresd: update ddr script and add plugin support
Update ddr script and add plugin support. Signed-off-by: Peng Fan <peng.fan@nxp.com>
Diffstat (limited to 'board/freescale/mx7dsabresd/imximage.cfg')
-rw-r--r--board/freescale/mx7dsabresd/imximage.cfg11
1 files changed, 11 insertions, 0 deletions
diff --git a/board/freescale/mx7dsabresd/imximage.cfg b/board/freescale/mx7dsabresd/imximage.cfg
index c2b3a8c..4dca2d3 100644
--- a/board/freescale/mx7dsabresd/imximage.cfg
+++ b/board/freescale/mx7dsabresd/imximage.cfg
@@ -1,5 +1,6 @@
/*
* Copyright (C) 2015 Freescale Semiconductor, Inc.
+ * Copyright 2017 NXP
*
* SPDX-License-Identifier: GPL-2.0+
*
@@ -22,6 +23,10 @@ IMAGE_VERSION 2
BOOT_FROM sd
+#ifdef CONFIG_USE_IMXIMG_PLUGIN
+/*PLUGIN plugin-binary-file IRAM_FREE_START_ADDR*/
+PLUGIN board/freescale/mx7dsabresd/plugin.bin 0x00910000
+#else
/*
* Secure boot support
*/
@@ -42,6 +47,9 @@ CSF CONFIG_CSF_SIZE
*/
DATA 4 0x30340004 0x4F400005
+/* Clear then set bit30 to ensure exit from DDR retention */
+DATA 4 0x30360388 0x40000000
+DATA 4 0x30360384 0x40000000
DATA 4 0x30391000 0x00000002
DATA 4 0x307a0000 0x01040001
@@ -93,9 +101,12 @@ CHECK_BITS_SET 4 0x307900c4 0x1
DATA 4 0x307900c0 0x0e447304
DATA 4 0x307900c0 0x0e407304
+
DATA 4 0x30384130 0x00000000
DATA 4 0x30340020 0x00000178
DATA 4 0x30384130 0x00000002
DATA 4 0x30790018 0x0000000f
CHECK_BITS_SET 4 0x307a0004 0x1
+
+#endif