blob: 0c6f444a7a3986512e11d548467739ddeb675f82 [file] [log] [blame]
Tom Rini83d290c2018-05-06 17:58:06 -04001/* SPDX-License-Identifier: GPL-2.0+ */
Peng Fan55a42b32016-08-11 14:02:57 +08002/*
3 * Copyright (C) 2016 Freescale Semiconductor, Inc.
4 *
Patrick Delaunayb09e28f2020-02-28 15:18:12 +01005 * Refer doc/imx/mkimage/imximage.txt for more details about how-to configure
Peng Fan55a42b32016-08-11 14:02:57 +08006 * and create imximage boot image
7 *
8 * The syntax is taken as close as possible with the kwbimage
9 */
10
Peng Fan55a42b32016-08-11 14:02:57 +080011#include <config.h>
12
13/* image version */
14
15IMAGE_VERSION 2
16
17/*
18 * Boot Device : one of
19 * spi/sd/nand/onenand, qspi/nor
20 */
21
Peng Fanab1f75a2016-10-11 14:29:16 +080022#ifdef CONFIG_QSPI_BOOT
Peng Fan55a42b32016-08-11 14:02:57 +080023BOOT_FROM qspi
Peng Fanab1f75a2016-10-11 14:29:16 +080024#elif defined(CONFIG_NOR_BOOT)
Peng Fan55a42b32016-08-11 14:02:57 +080025BOOT_FROM nor
26#else
27BOOT_FROM sd
28#endif
29
Peng Fan204d1f62016-10-11 14:29:15 +080030#ifdef CONFIG_USE_IMXIMG_PLUGIN
Peng Fan55a42b32016-08-11 14:02:57 +080031/*PLUGIN plugin-binary-file IRAM_FREE_START_ADDR*/
32PLUGIN board/freescale/mx6ullevk/plugin.bin 0x00907000
33#else
34
Stefano Babicd714a752019-09-20 08:47:53 +020035#ifdef CONFIG_IMX_HAB
Peng Fan55a42b32016-08-11 14:02:57 +080036CSF CONFIG_CSF_SIZE
37#endif
38
39/*
40 * Device Configuration Data (DCD)
41 *
42 * Each entry must have the format:
43 * Addr-type Address Value
44 *
45 * where:
46 * Addr-type register length (1,2 or 4 bytes)
47 * Address absolute address of the register
48 * value value to be stored in the register
49 */
50
51/* Enable all clocks */
52DATA 4 0x020c4068 0xffffffff
53DATA 4 0x020c406c 0xffffffff
54DATA 4 0x020c4070 0xffffffff
55DATA 4 0x020c4074 0xffffffff
56DATA 4 0x020c4078 0xffffffff
57DATA 4 0x020c407c 0xffffffff
58DATA 4 0x020c4080 0xffffffff
59
60DATA 4 0x020E04B4 0x000C0000
61DATA 4 0x020E04AC 0x00000000
62DATA 4 0x020E027C 0x00000030
63DATA 4 0x020E0250 0x00000030
64DATA 4 0x020E024C 0x00000030
65DATA 4 0x020E0490 0x00000030
66DATA 4 0x020E0288 0x000C0030
67DATA 4 0x020E0270 0x00000000
68DATA 4 0x020E0260 0x00000030
69DATA 4 0x020E0264 0x00000030
70DATA 4 0x020E04A0 0x00000030
71DATA 4 0x020E0494 0x00020000
72DATA 4 0x020E0280 0x00000030
73DATA 4 0x020E0284 0x00000030
74DATA 4 0x020E04B0 0x00020000
75DATA 4 0x020E0498 0x00000030
76DATA 4 0x020E04A4 0x00000030
77DATA 4 0x020E0244 0x00000030
78DATA 4 0x020E0248 0x00000030
79DATA 4 0x021B001C 0x00008000
80DATA 4 0x021B0800 0xA1390003
81DATA 4 0x021B080C 0x00000004
82DATA 4 0x021B083C 0x41640158
83DATA 4 0x021B0848 0x40403237
84DATA 4 0x021B0850 0x40403C33
85DATA 4 0x021B081C 0x33333333
86DATA 4 0x021B0820 0x33333333
87DATA 4 0x021B082C 0xf3333333
88DATA 4 0x021B0830 0xf3333333
89DATA 4 0x021B08C0 0x00944009
90DATA 4 0x021B08b8 0x00000800
91DATA 4 0x021B0004 0x0002002D
92DATA 4 0x021B0008 0x1B333030
93DATA 4 0x021B000C 0x676B52F3
94DATA 4 0x021B0010 0xB66D0B63
95DATA 4 0x021B0014 0x01FF00DB
96DATA 4 0x021B0018 0x00201740
97DATA 4 0x021B001C 0x00008000
98DATA 4 0x021B002C 0x000026D2
99DATA 4 0x021B0030 0x006B1023
100DATA 4 0x021B0040 0x0000004F
101DATA 4 0x021B0000 0x84180000
102DATA 4 0x021B0890 0x00400000
103DATA 4 0x021B001C 0x02008032
104DATA 4 0x021B001C 0x00008033
105DATA 4 0x021B001C 0x00048031
106DATA 4 0x021B001C 0x15208030
107DATA 4 0x021B001C 0x04008040
108DATA 4 0x021B0020 0x00000800
109DATA 4 0x021B0818 0x00000227
110DATA 4 0x021B0004 0x0002552D
111DATA 4 0x021B0404 0x00011006
112DATA 4 0x021B001C 0x00000000
113
114#endif