Fabio Estevam | 891b819 | 2016-04-18 09:56:16 -0300 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (C) 2015 Freescale Semiconductor, Inc. |
| 3 | * |
| 4 | * SPDX-License-Identifier: GPL-2.0+ |
| 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 | 891b819 | 2016-04-18 09:56:16 -0300 | [diff] [blame] | 7 | * 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 | |
| 17 | IMAGE_VERSION 2 |
| 18 | |
| 19 | /* |
| 20 | * Boot Device : one of |
| 21 | * spi/sd/nand/onenand, qspi/nor |
| 22 | */ |
| 23 | BOOT_FROM sd |
| 24 | |
| 25 | /* |
| 26 | * Device Configuration Data (DCD) |
| 27 | * |
| 28 | * Each entry must have the format: |
| 29 | * Addr-type Address Value |
| 30 | * |
| 31 | * where: |
| 32 | * Addr-type register length (1,2 or 4 bytes) |
| 33 | * Address absolute address of the register |
| 34 | * value value to be stored in the register |
| 35 | */ |
| 36 | |
| 37 | /* Enable all clocks */ |
| 38 | DATA 4 0x020c4068 0xffffffff |
| 39 | DATA 4 0x020c406c 0xffffffff |
| 40 | DATA 4 0x020c4070 0xffffffff |
| 41 | DATA 4 0x020c4074 0xffffffff |
| 42 | DATA 4 0x020c4078 0xffffffff |
| 43 | DATA 4 0x020c407c 0xffffffff |
| 44 | DATA 4 0x020c4080 0xffffffff |
| 45 | |
| 46 | DATA 4 0x020E04B4 0x000C0000 |
| 47 | DATA 4 0x020E04AC 0x00000000 |
| 48 | DATA 4 0x020E027C 0x00000030 |
| 49 | DATA 4 0x020E0250 0x00000030 |
| 50 | DATA 4 0x020E024C 0x00000030 |
| 51 | DATA 4 0x020E0490 0x00000030 |
| 52 | DATA 4 0x020E0288 0x00000030 |
| 53 | DATA 4 0x020E0270 0x00000000 |
| 54 | DATA 4 0x020E0260 0x00000030 |
| 55 | DATA 4 0x020E0264 0x00000030 |
| 56 | DATA 4 0x020E04A0 0x00000030 |
| 57 | DATA 4 0x020E0494 0x00020000 |
| 58 | DATA 4 0x020E0280 0x00000030 |
| 59 | DATA 4 0x020E0284 0x00000030 |
| 60 | DATA 4 0x020E04B0 0x00020000 |
| 61 | DATA 4 0x020E0498 0x00000030 |
| 62 | DATA 4 0x020E04A4 0x00000030 |
| 63 | DATA 4 0x020E0244 0x00000030 |
| 64 | DATA 4 0x020E0248 0x00000030 |
| 65 | DATA 4 0x021B001C 0x00008000 |
| 66 | DATA 4 0x021B0800 0xA1390003 |
| 67 | DATA 4 0x021B080C 0x00000000 |
| 68 | DATA 4 0x021B083C 0x01380134 |
| 69 | DATA 4 0x021B0848 0x40404244 |
| 70 | DATA 4 0x021B0850 0x40405050 |
| 71 | DATA 4 0x021B081C 0x33333333 |
| 72 | DATA 4 0x021B0820 0x33333333 |
| 73 | DATA 4 0x021B082C 0xf3333333 |
| 74 | DATA 4 0x021B0830 0xf3333333 |
| 75 | DATA 4 0x021B08C0 0x00921012 |
| 76 | DATA 4 0x021B08b8 0x00000800 |
| 77 | DATA 4 0x021B0004 0x0002002D |
| 78 | DATA 4 0x021B0008 0x00333030 |
| 79 | DATA 4 0x021B000C 0x676B52F3 |
| 80 | DATA 4 0x021B0010 0xB66D8B63 |
| 81 | DATA 4 0x021B0014 0x01FF00DB |
| 82 | DATA 4 0x021B0018 0x00201740 |
| 83 | DATA 4 0x021B001C 0x00008000 |
| 84 | DATA 4 0x021B002C 0x000026D2 |
| 85 | DATA 4 0x021B0030 0x006B1023 |
| 86 | DATA 4 0x021B0040 0x00000047 |
| 87 | DATA 4 0x021B0000 0x83180000 |
| 88 | DATA 4 0x021B001C 0x02008032 |
| 89 | DATA 4 0x021B001C 0x00008033 |
| 90 | DATA 4 0x021B001C 0x00048031 |
| 91 | DATA 4 0x021B001C 0x15208030 |
| 92 | DATA 4 0x021B001C 0x04008040 |
| 93 | DATA 4 0x021B0020 0x00000800 |
| 94 | DATA 4 0x021B0818 0x00000227 |
| 95 | DATA 4 0x021B0004 0x0002552D |
| 96 | DATA 4 0x021B0404 0x00011006 |
| 97 | DATA 4 0x021B001C 0x00000000 |