Tom Rini | 83d290c | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0+ */ |
Peng Fan | 77fa045 | 2017-02-22 16:21:56 +0800 | [diff] [blame] | 2 | /* |
| 3 | * Copyright (C) 2016 Freescale Semiconductor, Inc. |
| 4 | * |
Peng Fan | 77fa045 | 2017-02-22 16:21:56 +0800 | [diff] [blame] | 5 | * 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 | |
Peng Fan | 77fa045 | 2017-02-22 16:21:56 +0800 | [diff] [blame] | 11 | #include <config.h> |
| 12 | |
| 13 | /* image version */ |
| 14 | |
| 15 | IMAGE_VERSION 2 |
| 16 | |
| 17 | /* |
| 18 | * Boot Device : one of |
| 19 | * spi/sd/nand/onenand, qspi/nor |
| 20 | */ |
| 21 | |
| 22 | BOOT_FROM sd |
| 23 | |
| 24 | #ifdef CONFIG_USE_IMXIMG_PLUGIN |
| 25 | /*PLUGIN plugin-binary-file IRAM_FREE_START_ADDR*/ |
| 26 | PLUGIN board/freescale/mx7ulp_evk/plugin.bin 0x2F020000 |
| 27 | #else |
| 28 | |
Stefano Babic | d714a75 | 2019-09-20 08:47:53 +0200 | [diff] [blame] | 29 | #ifdef CONFIG_IMX_HAB |
Peng Fan | 77fa045 | 2017-02-22 16:21:56 +0800 | [diff] [blame] | 30 | CSF CONFIG_CSF_SIZE |
| 31 | #endif |
| 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 | DATA 4 0x403f00dc 0x00000000 |
| 44 | DATA 4 0x403e0040 0x01000020 |
Ye Li | 285aea0 | 2019-05-15 09:56:56 +0000 | [diff] [blame] | 45 | DATA 4 0x403e0500 0x01000000 |
Peng Fan | 77fa045 | 2017-02-22 16:21:56 +0800 | [diff] [blame] | 46 | DATA 4 0x403e050c 0x80808080 |
Ye Li | 9c1563e | 2019-05-15 09:56:59 +0000 | [diff] [blame] | 47 | DATA 4 0x403e0508 0x00160002 |
Ye Li | 06fc741 | 2019-05-15 09:57:01 +0000 | [diff] [blame] | 48 | DATA 4 0x403E0510 0x00000001 |
| 49 | DATA 4 0x403E0514 0x00000014 |
Ye Li | 285aea0 | 2019-05-15 09:56:56 +0000 | [diff] [blame] | 50 | DATA 4 0x403e0500 0x00000001 |
| 51 | CHECK_BITS_SET 4 0x403e0500 0x01000000 |
Ye Li | 06fc741 | 2019-05-15 09:57:01 +0000 | [diff] [blame] | 52 | DATA 4 0x403e050c 0x8080801B |
Peng Fan | 77fa045 | 2017-02-22 16:21:56 +0800 | [diff] [blame] | 53 | CHECK_BITS_SET 4 0x403e050c 0x00000040 |
| 54 | DATA 4 0x403E0030 0x00000001 |
| 55 | DATA 4 0x403e0040 0x11000020 |
| 56 | DATA 4 0x403f00dc 0x42000000 |
| 57 | |
| 58 | DATA 4 0x40B300AC 0x40000000 |
| 59 | |
| 60 | DATA 4 0x40AD0128 0x00040000 |
| 61 | DATA 4 0x40AD00F8 0x00000000 |
| 62 | DATA 4 0x40AD00D8 0x00000180 |
| 63 | DATA 4 0x40AD0108 0x00000180 |
| 64 | DATA 4 0x40AD0104 0x00000180 |
| 65 | DATA 4 0x40AD0124 0x00010000 |
| 66 | DATA 4 0x40AD0080 0x0000018C |
| 67 | DATA 4 0x40AD0084 0x0000018C |
| 68 | DATA 4 0x40AD0088 0x0000018C |
| 69 | DATA 4 0x40AD008C 0x0000018C |
| 70 | |
| 71 | DATA 4 0x40AD0120 0x00010000 |
| 72 | DATA 4 0x40AD010C 0x00000180 |
| 73 | DATA 4 0x40AD0110 0x00000180 |
| 74 | DATA 4 0x40AD0114 0x00000180 |
| 75 | DATA 4 0x40AD0118 0x00000180 |
| 76 | DATA 4 0x40AD0090 0x00000180 |
| 77 | DATA 4 0x40AD0094 0x00000180 |
| 78 | DATA 4 0x40AD0098 0x00000180 |
| 79 | DATA 4 0x40AD009C 0x00000180 |
| 80 | |
| 81 | DATA 4 0x40AD00E0 0x00040000 |
| 82 | DATA 4 0x40AD00E4 0x00040000 |
| 83 | |
| 84 | DATA 4 0x40AB001C 0x00008000 |
| 85 | DATA 4 0x40AB0800 0xA1390003 |
| 86 | DATA 4 0x40AB085C 0x0D3900A0 |
| 87 | DATA 4 0x40AB0890 0x00400000 |
| 88 | |
| 89 | DATA 4 0x40AB0848 0x40404040 |
| 90 | DATA 4 0x40AB0850 0x40404040 |
| 91 | DATA 4 0x40AB081C 0x33333333 |
| 92 | DATA 4 0x40AB0820 0x33333333 |
| 93 | DATA 4 0x40AB0824 0x33333333 |
| 94 | DATA 4 0x40AB0828 0x33333333 |
| 95 | |
Peng Fan | 77fa045 | 2017-02-22 16:21:56 +0800 | [diff] [blame] | 96 | DATA 4 0x40AB08C0 0x24922492 |
| 97 | DATA 4 0x40AB08B8 0x00000800 |
| 98 | |
| 99 | DATA 4 0x40AB0004 0x00020052 |
| 100 | DATA 4 0x40AB000C 0x292C42F3 |
| 101 | DATA 4 0x40AB0010 0x00100A22 |
| 102 | DATA 4 0x40AB0038 0x00120556 |
| 103 | DATA 4 0x40AB0014 0x00C700DB |
| 104 | DATA 4 0x40AB0018 0x00211718 |
| 105 | DATA 4 0x40AB002C 0x0F9F26D2 |
| 106 | DATA 4 0x40AB0030 0x009F0E10 |
| 107 | DATA 4 0x40AB0040 0x0000003F |
| 108 | DATA 4 0x40AB0000 0xC3190000 |
| 109 | |
Ye Li | b4bd5d7 | 2019-05-15 09:56:53 +0000 | [diff] [blame] | 110 | DATA 4 0x40AB001C 0x00008010 |
| 111 | DATA 4 0x40AB001C 0x00008018 |
Peng Fan | 77fa045 | 2017-02-22 16:21:56 +0800 | [diff] [blame] | 112 | DATA 4 0x40AB001C 0x003F8030 |
| 113 | DATA 4 0x40AB001C 0x003F8038 |
| 114 | DATA 4 0x40AB001C 0xFF0A8030 |
| 115 | DATA 4 0x40AB001C 0xFF0A8038 |
| 116 | DATA 4 0x40AB001C 0x04028030 |
| 117 | DATA 4 0x40AB001C 0x04028038 |
| 118 | DATA 4 0x40AB001C 0x83018030 |
| 119 | DATA 4 0x40AB001C 0x83018038 |
| 120 | DATA 4 0x40AB001C 0x01038030 |
| 121 | DATA 4 0x40AB001C 0x01038038 |
| 122 | |
| 123 | DATA 4 0x40AB083C 0x20000000 |
| 124 | |
| 125 | DATA 4 0x40AB0020 0x00001800 |
| 126 | DATA 4 0x40AB0800 0xA1310000 |
| 127 | DATA 4 0x40AB0004 0x00020052 |
| 128 | DATA 4 0x40AB0404 0x00011006 |
| 129 | DATA 4 0x40AB001C 0x00000000 |
| 130 | #endif |