blob: e162cff90f0ff693fc0c39c85e1a5f5c6dc994cc [file] [log] [blame]
Stefan Agner7b852342018-05-30 19:01:48 +02001/* SPDX-License-Identifier: GPL-2.0+ */
2/*
3 * Copyright (C) 2016 Freescale Semiconductor, Inc.
4 * Copyright (C) 2018 Toradex AG
5 *
Patrick Delaunay488b6ac2020-02-28 15:18:12 +01006 * Refer doc/imx/mkimage/imximage.txt for more details about how-to configure
Stefan Agner7b852342018-05-30 19:01:48 +02007 * and create imximage boot image
8 *
9 * The syntax is taken as close as possible with the kwbimage
10 */
11
12#define __ASSEMBLY__
13#include <config.h>
14
15/* image version */
16
17IMAGE_VERSION 2
18
19/*
20 * Boot Device : nand
21 */
22
23BOOT_FROM nand
24
25/*
26 * Secure boot support
27 */
Stefano Babicf8b509b2019-09-20 08:47:53 +020028#ifdef CONFIG_IMX_HAB
Stefan Agner7b852342018-05-30 19:01:48 +020029CSF CONFIG_CSF_SIZE
30#endif
31
32/*
33 * Device Configuration Data (DCD)
34 *
35 * Each entry must have the format:
36 * Addr-type Address Value
37 *
38 * where:
39 * Addr-type register length (1,2 or 4 bytes)
40 * Address absolute address of the register
41 * value value to be stored in the register
42 */
43
44/* Enable all clocks */
45DATA 4 0x020c4068 0xffffffff
46DATA 4 0x020c406c 0xffffffff
47DATA 4 0x020c4070 0xffffffff
48DATA 4 0x020c4074 0xffffffff
49DATA 4 0x020c4078 0xffffffff
50DATA 4 0x020c407c 0xffffffff
51DATA 4 0x020c4080 0xffffffff
52
53DATA 4 0x020E04B4 0x000C0000
54DATA 4 0x020E04AC 0x00000000
55DATA 4 0x020E027C 0x00000030
56DATA 4 0x020E0250 0x00000030
57DATA 4 0x020E024C 0x00000030
58DATA 4 0x020E0490 0x00000030
59DATA 4 0x020E0288 0x000C0030
60DATA 4 0x020E0270 0x00000000
61DATA 4 0x020E0260 0x00000030
62DATA 4 0x020E0264 0x00000030
63DATA 4 0x020E04A0 0x00000030
64DATA 4 0x020E0494 0x00020000
65DATA 4 0x020E0280 0x00000030
66DATA 4 0x020E0284 0x00000030
67DATA 4 0x020E04B0 0x00020000
68DATA 4 0x020E0498 0x00000030
69DATA 4 0x020E04A4 0x00000030
70DATA 4 0x020E0244 0x00000030
71DATA 4 0x020E0248 0x00000030
72DATA 4 0x021B001C 0x00008000
73DATA 4 0x021B0800 0xA1390003
74DATA 4 0x021B080C 0x00000004
75DATA 4 0x021B083C 0x41640158
76DATA 4 0x021B0848 0x40403237
77DATA 4 0x021B0850 0x40403C33
78DATA 4 0x021B081C 0x33333333
79DATA 4 0x021B0820 0x33333333
80DATA 4 0x021B082C 0xf3333333
81DATA 4 0x021B0830 0xf3333333
82DATA 4 0x021B08C0 0x00944009
83DATA 4 0x021B08b8 0x00000800
84DATA 4 0x021B0004 0x0002002D
85DATA 4 0x021B0008 0x1B333030
Philippe Schenker268e3152021-10-06 18:55:35 +020086DATA 4 0x021B000C 0x8B8F52F3
Stefan Agner7b852342018-05-30 19:01:48 +020087DATA 4 0x021B0010 0xB66D0B63
88DATA 4 0x021B0014 0x01FF00DB
89DATA 4 0x021B0018 0x00201740
Stefan Agner7b852342018-05-30 19:01:48 +020090DATA 4 0x021B002C 0x000026D2
Philippe Schenker268e3152021-10-06 18:55:35 +020091DATA 4 0x021B0030 0x008F1023
92DATA 4 0x021B0040 0x0000005F
93DATA 4 0x021B0000 0x85180000
Stefan Agner7b852342018-05-30 19:01:48 +020094DATA 4 0x021B001C 0x02008032
95DATA 4 0x021B001C 0x00008033
96DATA 4 0x021B001C 0x00048031
97DATA 4 0x021B001C 0x15208030
98DATA 4 0x021B001C 0x04008040
99DATA 4 0x021B0020 0x00000800
100DATA 4 0x021B0818 0x00000227
Philippe Schenker268e3152021-10-06 18:55:35 +0200101DATA 4 0x021B0004 0x0002556D
Stefan Agner7b852342018-05-30 19:01:48 +0200102DATA 4 0x021B0404 0x00011006
103DATA 4 0x021B001C 0x00000000