aboutsummaryrefslogtreecommitdiff
path: root/board/freescale/imxrt1020-evk/imximage.cfg
diff options
context:
space:
mode:
authorGiulio Benetti <giulio.benetti@benettiengineering.com>2020-02-18 20:02:55 +0100
committerStefano Babic <sbabic@denx.de>2020-04-18 14:55:00 +0200
commit931edc6efb11f07557b5fb85f5ce95afa4818f25 (patch)
tree63238b001bfc73611e132ef0e36bdb573b0010d6 /board/freescale/imxrt1020-evk/imximage.cfg
parent7787330200526023f49b4d60869a1c91e908132a (diff)
downloadu-boot-931edc6efb11f07557b5fb85f5ce95afa4818f25.zip
u-boot-931edc6efb11f07557b5fb85f5ce95afa4818f25.tar.gz
u-boot-931edc6efb11f07557b5fb85f5ce95afa4818f25.tar.bz2
Add support for i.MXRT1020-EVK board
Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com> Reviewed-by: Lukasz Majewski <lukma@denx.de>
Diffstat (limited to 'board/freescale/imxrt1020-evk/imximage.cfg')
-rw-r--r--board/freescale/imxrt1020-evk/imximage.cfg36
1 files changed, 36 insertions, 0 deletions
diff --git a/board/freescale/imxrt1020-evk/imximage.cfg b/board/freescale/imxrt1020-evk/imximage.cfg
new file mode 100644
index 0000000..9bcc2c1
--- /dev/null
+++ b/board/freescale/imxrt1020-evk/imximage.cfg
@@ -0,0 +1,36 @@
+/* SPDX-License-Identifier: GPL-2.0+ */
+/*
+ * Copyright (C) 2020
+ * Author(s): Giulio Benetti <giulio.benetti@benettiengineering.com>
+ */
+
+#define __ASSEMBLY__
+#include <config.h>
+
+/* image version */
+
+IMAGE_VERSION 2
+
+/*
+ * Boot Device : one of
+ * spi/sd/nand/onenand, qspi/nor
+ */
+
+BOOT_FROM sd
+
+/*
+ * Device Configuration Data (DCD)
+ *
+ * Each entry must have the format:
+ * Addr-type Address Value
+ *
+ * where:
+ * Addr-type register length (1,2 or 4 bytes)
+ * Address absolute address of the register
+ * value value to be stored in the register
+ */
+
+/* Set all FlexRAM as OCRAM(01b) */
+DATA 4 0x400AC044 0x00005555
+/* Use FLEXRAM_BANK_CFG to config FlexRAM */
+SET_BIT 4 0x400AC040 0x4