blob: d4f6c3c62df58c9c9ac7c294bb7aff38679075ab [file] [log] [blame]
Tom Rini83d290c2018-05-06 17:58:06 -04001/* SPDX-License-Identifier: GPL-2.0+ */
Peng Fan77fa0452017-02-22 16:21:56 +08002/*
3 * Copyright (C) 2016 Freescale Semiconductor, Inc.
4 *
Peng Fan77fa0452017-02-22 16:21:56 +08005 * Refer docs/README.imxmage for more details about how-to configure
6 * and create imximage boot image
7 *
8 * The syntax is taken as close as possible with the kwbimage
9 */
10
11#define __ASSEMBLY__
12#include <config.h>
13
14/* image version */
15
16IMAGE_VERSION 2
17
18/*
19 * Boot Device : one of
20 * spi/sd/nand/onenand, qspi/nor
21 */
22
23BOOT_FROM sd
24
25#ifdef CONFIG_USE_IMXIMG_PLUGIN
26/*PLUGIN plugin-binary-file IRAM_FREE_START_ADDR*/
27PLUGIN board/freescale/mx7ulp_evk/plugin.bin 0x2F020000
28#else
29
30#ifdef CONFIG_SECURE_BOOT
31CSF CONFIG_CSF_SIZE
32#endif
33/*
34 * Device Configuration Data (DCD)
35 *
36 * Each entry must have the format:
37 * Addr-type Address Value
38 *
39 * where:
40 * Addr-type register length (1,2 or 4 bytes)
41 * Address absolute address of the register
42 * value value to be stored in the register
43 */
44DATA 4 0x403f00dc 0x00000000
45DATA 4 0x403e0040 0x01000020
Ye Li285aea02019-05-15 09:56:56 +000046DATA 4 0x403e0500 0x01000000
Peng Fan77fa0452017-02-22 16:21:56 +080047DATA 4 0x403e050c 0x80808080
Ye Li285aea02019-05-15 09:56:56 +000048DATA 4 0x403e0508 0x00160000
49DATA 4 0x403E0510 0x00000002
50DATA 4 0x403E0514 0x00000005
51DATA 4 0x403e0500 0x00000001
52CHECK_BITS_SET 4 0x403e0500 0x01000000
53DATA 4 0x403e050c 0x80808020
Peng Fan77fa0452017-02-22 16:21:56 +080054CHECK_BITS_SET 4 0x403e050c 0x00000040
55DATA 4 0x403E0030 0x00000001
56DATA 4 0x403e0040 0x11000020
57DATA 4 0x403f00dc 0x42000000
58
59DATA 4 0x40B300AC 0x40000000
60
61DATA 4 0x40AD0128 0x00040000
62DATA 4 0x40AD00F8 0x00000000
63DATA 4 0x40AD00D8 0x00000180
64DATA 4 0x40AD0108 0x00000180
65DATA 4 0x40AD0104 0x00000180
66DATA 4 0x40AD0124 0x00010000
67DATA 4 0x40AD0080 0x0000018C
68DATA 4 0x40AD0084 0x0000018C
69DATA 4 0x40AD0088 0x0000018C
70DATA 4 0x40AD008C 0x0000018C
71
72DATA 4 0x40AD0120 0x00010000
73DATA 4 0x40AD010C 0x00000180
74DATA 4 0x40AD0110 0x00000180
75DATA 4 0x40AD0114 0x00000180
76DATA 4 0x40AD0118 0x00000180
77DATA 4 0x40AD0090 0x00000180
78DATA 4 0x40AD0094 0x00000180
79DATA 4 0x40AD0098 0x00000180
80DATA 4 0x40AD009C 0x00000180
81
82DATA 4 0x40AD00E0 0x00040000
83DATA 4 0x40AD00E4 0x00040000
84
85DATA 4 0x40AB001C 0x00008000
86DATA 4 0x40AB0800 0xA1390003
87DATA 4 0x40AB085C 0x0D3900A0
88DATA 4 0x40AB0890 0x00400000
89
90DATA 4 0x40AB0848 0x40404040
91DATA 4 0x40AB0850 0x40404040
92DATA 4 0x40AB081C 0x33333333
93DATA 4 0x40AB0820 0x33333333
94DATA 4 0x40AB0824 0x33333333
95DATA 4 0x40AB0828 0x33333333
96
Peng Fan77fa0452017-02-22 16:21:56 +080097DATA 4 0x40AB08C0 0x24922492
98DATA 4 0x40AB08B8 0x00000800
99
100DATA 4 0x40AB0004 0x00020052
101DATA 4 0x40AB000C 0x292C42F3
102DATA 4 0x40AB0010 0x00100A22
103DATA 4 0x40AB0038 0x00120556
104DATA 4 0x40AB0014 0x00C700DB
105DATA 4 0x40AB0018 0x00211718
106DATA 4 0x40AB002C 0x0F9F26D2
107DATA 4 0x40AB0030 0x009F0E10
108DATA 4 0x40AB0040 0x0000003F
109DATA 4 0x40AB0000 0xC3190000
110
Ye Lib4bd5d72019-05-15 09:56:53 +0000111DATA 4 0x40AB001C 0x00008010
112DATA 4 0x40AB001C 0x00008018
Peng Fan77fa0452017-02-22 16:21:56 +0800113DATA 4 0x40AB001C 0x003F8030
114DATA 4 0x40AB001C 0x003F8038
115DATA 4 0x40AB001C 0xFF0A8030
116DATA 4 0x40AB001C 0xFF0A8038
117DATA 4 0x40AB001C 0x04028030
118DATA 4 0x40AB001C 0x04028038
119DATA 4 0x40AB001C 0x83018030
120DATA 4 0x40AB001C 0x83018038
121DATA 4 0x40AB001C 0x01038030
122DATA 4 0x40AB001C 0x01038038
123
124DATA 4 0x40AB083C 0x20000000
125
126DATA 4 0x40AB0020 0x00001800
127DATA 4 0x40AB0800 0xA1310000
128DATA 4 0x40AB0004 0x00020052
129DATA 4 0x40AB0404 0x00011006
130DATA 4 0x40AB001C 0x00000000
131#endif