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