blob: c2b3a8c9c4bce0f55e94b1029af28c951093c077 [file] [log] [blame]
Adrian Alonso98810772015-09-03 11:49:28 -05001/*
2 * Copyright (C) 2015 Freescale Semiconductor, Inc.
3 *
4 * SPDX-License-Identifier: GPL-2.0+
5 *
Jagan Teki94de5c12016-10-08 18:00:14 +05306 * Refer doc/README.imximage for more details about how-to configure
Adrian Alonso98810772015-09-03 11:49:28 -05007 * 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 : sd
21 */
22
23BOOT_FROM sd
24
25/*
Adrian Alonso2fe7c292015-10-12 13:48:16 -050026 * Secure boot support
27 */
28#ifdef CONFIG_SECURE_BOOT
29CSF CONFIG_CSF_SIZE
30#endif
31
32/*
Adrian Alonso98810772015-09-03 11:49:28 -050033 * 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
44DATA 4 0x30340004 0x4F400005
45
46DATA 4 0x30391000 0x00000002
47DATA 4 0x307a0000 0x01040001
48DATA 4 0x307a01a0 0x80400003
49DATA 4 0x307a01a4 0x00100020
50DATA 4 0x307a01a8 0x80100004
51DATA 4 0x307a0064 0x00400046
52DATA 4 0x307a0490 0x00000001
53DATA 4 0x307a00d0 0x00020083
54DATA 4 0x307a00d4 0x00690000
55DATA 4 0x307a00dc 0x09300004
56DATA 4 0x307a00e0 0x04080000
57DATA 4 0x307a00e4 0x00100004
58DATA 4 0x307a00f4 0x0000033f
59DATA 4 0x307a0100 0x09081109
60DATA 4 0x307a0104 0x0007020d
61DATA 4 0x307a0108 0x03040407
62DATA 4 0x307a010c 0x00002006
63DATA 4 0x307a0110 0x04020205
64DATA 4 0x307a0114 0x03030202
65DATA 4 0x307a0120 0x00000803
66DATA 4 0x307a0180 0x00800020
67DATA 4 0x307a0184 0x02000100
68DATA 4 0x307a0190 0x02098204
69DATA 4 0x307a0194 0x00030303
70DATA 4 0x307a0200 0x00000016
71DATA 4 0x307a0204 0x00171717
72DATA 4 0x307a0214 0x04040404
73DATA 4 0x307a0218 0x0f040404
74DATA 4 0x307a0240 0x06000604
75DATA 4 0x307a0244 0x00000001
76DATA 4 0x30391000 0x00000000
77DATA 4 0x30790000 0x17420f40
78DATA 4 0x30790004 0x10210100
79DATA 4 0x30790010 0x00060807
80DATA 4 0x307900b0 0x1010007e
81DATA 4 0x3079009c 0x00000d6e
82DATA 4 0x30790020 0x08080808
83DATA 4 0x30790030 0x08080808
84DATA 4 0x30790050 0x01000010
85DATA 4 0x30790050 0x00000010
86
87DATA 4 0x307900c0 0x0e407304
88DATA 4 0x307900c0 0x0e447304
89DATA 4 0x307900c0 0x0e447306
90
91CHECK_BITS_SET 4 0x307900c4 0x1
92
93DATA 4 0x307900c0 0x0e447304
94DATA 4 0x307900c0 0x0e407304
95
96DATA 4 0x30384130 0x00000000
97DATA 4 0x30340020 0x00000178
98DATA 4 0x30384130 0x00000002
99DATA 4 0x30790018 0x0000000f
100
101CHECK_BITS_SET 4 0x307a0004 0x1