Tom Rini | 10e4779 | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0+ */ |
Fabio Estevam | 26e9c97 | 2013-04-10 09:32:58 +0000 | [diff] [blame] | 2 | /* |
| 3 | * Copyright (C) 2013 Freescale Semiconductor, Inc. |
| 4 | * |
Patrick Delaunay | 488b6ac | 2020-02-28 15:18:12 +0100 | [diff] [blame] | 5 | * Refer doc/imx/mkimage/imximage.txt for more details about how-to configure |
Fabio Estevam | 26e9c97 | 2013-04-10 09:32:58 +0000 | [diff] [blame] | 6 | * and create imximage boot image |
| 7 | * |
| 8 | * The syntax is taken as close as possible with the kwbimage |
| 9 | */ |
Breno Lima | 26f66d9 | 2017-11-27 21:02:43 -0200 | [diff] [blame] | 10 | #define __ASSEMBLY__ |
| 11 | #include <config.h> |
Fabio Estevam | 26e9c97 | 2013-04-10 09:32:58 +0000 | [diff] [blame] | 12 | |
| 13 | /* image version */ |
| 14 | |
| 15 | IMAGE_VERSION 2 |
| 16 | |
| 17 | /* |
| 18 | * Boot Device : one of |
| 19 | * spi, sd (the board has no nand neither onenand) |
| 20 | */ |
| 21 | |
| 22 | BOOT_FROM sd |
| 23 | |
| 24 | /* |
Breno Lima | 26f66d9 | 2017-11-27 21:02:43 -0200 | [diff] [blame] | 25 | * Secure boot support |
| 26 | */ |
Stefano Babic | f8b509b | 2019-09-20 08:47:53 +0200 | [diff] [blame] | 27 | #ifdef CONFIG_IMX_HAB |
Breno Lima | 26f66d9 | 2017-11-27 21:02:43 -0200 | [diff] [blame] | 28 | CSF CONFIG_CSF_SIZE |
| 29 | #endif |
| 30 | |
| 31 | /* |
Fabio Estevam | 26e9c97 | 2013-04-10 09:32:58 +0000 | [diff] [blame] | 32 | * Device Configuration Data (DCD) |
| 33 | * |
| 34 | * Each entry must have the format: |
| 35 | * Addr-type Address Value |
| 36 | * |
| 37 | * where: |
| 38 | * Addr-type register length (1,2 or 4 bytes) |
| 39 | * Address absolute address of the register |
| 40 | * value value to be stored in the register |
| 41 | */ |
| 42 | DATA 4 0x020c4018 0x00260324 |
| 43 | |
| 44 | DATA 4 0x020c4068 0xffffffff |
| 45 | DATA 4 0x020c406c 0xffffffff |
| 46 | DATA 4 0x020c4070 0xffffffff |
| 47 | DATA 4 0x020c4074 0xffffffff |
| 48 | DATA 4 0x020c4078 0xffffffff |
| 49 | DATA 4 0x020c407c 0xffffffff |
| 50 | DATA 4 0x020c4080 0xffffffff |
| 51 | |
| 52 | DATA 4 0x020e0344 0x00003030 |
| 53 | DATA 4 0x020e0348 0x00003030 |
| 54 | DATA 4 0x020e034c 0x00003030 |
| 55 | DATA 4 0x020e0350 0x00003030 |
| 56 | DATA 4 0x020e030c 0x00000030 |
| 57 | DATA 4 0x020e0310 0x00000030 |
| 58 | DATA 4 0x020e0314 0x00000030 |
| 59 | DATA 4 0x020e0318 0x00000030 |
| 60 | DATA 4 0x020e0300 0x00000030 |
| 61 | DATA 4 0x020e031c 0x00000030 |
| 62 | DATA 4 0x020e0338 0x00000028 |
| 63 | DATA 4 0x020e0320 0x00000030 |
| 64 | DATA 4 0x020e032c 0x00000000 |
| 65 | DATA 4 0x020e033c 0x00000008 |
| 66 | DATA 4 0x020e0340 0x00000008 |
| 67 | DATA 4 0x020e05c4 0x00000030 |
| 68 | DATA 4 0x020e05cc 0x00000030 |
| 69 | DATA 4 0x020e05d4 0x00000030 |
| 70 | DATA 4 0x020e05d8 0x00000030 |
| 71 | DATA 4 0x020e05ac 0x00000030 |
| 72 | DATA 4 0x020e05c8 0x00000030 |
| 73 | DATA 4 0x020e05b0 0x00020000 |
| 74 | DATA 4 0x020e05b4 0x00000000 |
| 75 | DATA 4 0x020e05c0 0x00020000 |
| 76 | DATA 4 0x020e05d0 0x00080000 |
| 77 | |
| 78 | DATA 4 0x021b001c 0x00008000 |
| 79 | DATA 4 0x021b085c 0x1b4700c7 |
| 80 | DATA 4 0x021b0800 0xa1390003 |
Tom Rini | c1b7082 | 2016-04-01 17:54:51 -0400 | [diff] [blame] | 81 | DATA 4 0x021b0890 0x00400000 |
Fabio Estevam | 26e9c97 | 2013-04-10 09:32:58 +0000 | [diff] [blame] | 82 | DATA 4 0x021b08b8 0x00000800 |
| 83 | DATA 4 0x021b081c 0x33333333 |
| 84 | DATA 4 0x021b0820 0x33333333 |
| 85 | DATA 4 0x021b0824 0x33333333 |
| 86 | DATA 4 0x021b0828 0x33333333 |
| 87 | DATA 4 0x021b082c 0xf3333333 |
| 88 | DATA 4 0x021b0830 0xf3333333 |
| 89 | DATA 4 0x021b0834 0xf3333333 |
| 90 | DATA 4 0x021b0838 0xf3333333 |
| 91 | DATA 4 0x021b0848 0x4241444a |
| 92 | DATA 4 0x021b0850 0x3030312b |
| 93 | DATA 4 0x021b083c 0x20000000 |
| 94 | DATA 4 0x021b0840 0x00000000 |
| 95 | DATA 4 0x021b08c0 0x24911492 |
| 96 | DATA 4 0x021b08b8 0x00000800 |
| 97 | DATA 4 0x021b000c 0x33374133 |
| 98 | DATA 4 0x021b0004 0x00020024 |
| 99 | DATA 4 0x021b0010 0x00100A82 |
| 100 | DATA 4 0x021b0014 0x00000093 |
| 101 | DATA 4 0x021b0018 0x00001688 |
| 102 | DATA 4 0x021b002c 0x0f9f26d2 |
Tom Rini | c1b7082 | 2016-04-01 17:54:51 -0400 | [diff] [blame] | 103 | DATA 4 0x021b0030 0x009f0e10 |
Fabio Estevam | 26e9c97 | 2013-04-10 09:32:58 +0000 | [diff] [blame] | 104 | DATA 4 0x021b0038 0x00190778 |
| 105 | DATA 4 0x021b0008 0x00000000 |
| 106 | DATA 4 0x021b0040 0x0000004f |
| 107 | DATA 4 0x021b0000 0xc3110000 |
| 108 | DATA 4 0x021b001c 0x003f8030 |
| 109 | DATA 4 0x021b001c 0xff0a8030 |
| 110 | DATA 4 0x021b001c 0x82018030 |
| 111 | DATA 4 0x021b001c 0x04028030 |
| 112 | DATA 4 0x021b001c 0x02038030 |
| 113 | DATA 4 0x021b001c 0xff0a8038 |
| 114 | DATA 4 0x021b001c 0x82018038 |
| 115 | DATA 4 0x021b001c 0x04028038 |
| 116 | DATA 4 0x021b001c 0x02038038 |
| 117 | DATA 4 0x021b0800 0xa1310003 |
| 118 | DATA 4 0x021b0020 0x00001800 |
| 119 | DATA 4 0x021b0818 0x00000000 |
| 120 | DATA 4 0x021b08b8 0x00000800 |
| 121 | DATA 4 0x021b0004 0x00025564 |
| 122 | DATA 4 0x021b0404 0x00011006 |
| 123 | DATA 4 0x021b001c 0x00000000 |