Arkadiusz Karas | 5b6f8f3 | 2020-01-02 19:31:21 +0100 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0+ */ |
| 2 | /* |
| 3 | * Copyright (C) 2017 A. Karas |
| 4 | * Copyright (C) 2015 Freescale Semiconductor, Inc. |
| 5 | * |
| 6 | * Refer docs/README.imxmage for more details about how-to configure |
| 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 : sd |
| 21 | */ |
| 22 | |
| 23 | BOOT_FROM sd |
| 24 | |
| 25 | /* |
| 26 | * Secure boot support |
| 27 | */ |
| 28 | #ifdef CONFIG_IMX_HAB |
| 29 | CSF CONFIG_CSF_SIZE |
| 30 | #endif |
| 31 | |
| 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 | |
| 44 | /* Micron MT41K256M16TW-107 */ |
| 45 | |
| 46 | /* Enable all clocks */ |
| 47 | DATA 4 0x020c4068 0xffffffff |
| 48 | DATA 4 0x020c406c 0xffffffff |
| 49 | DATA 4 0x020c4070 0xffffffff |
| 50 | DATA 4 0x020c4074 0xffffffff |
| 51 | DATA 4 0x020c4078 0xffffffff |
| 52 | DATA 4 0x020c407c 0xffffffff |
| 53 | DATA 4 0x020c4080 0xffffffff |
| 54 | |
| 55 | DATA 4 0x020E04B4 0x000C0000 |
| 56 | DATA 4 0x020E04AC 0x00000000 |
| 57 | DATA 4 0x020E027C 0x00000030 |
| 58 | DATA 4 0x020E0250 0x00000030 |
| 59 | DATA 4 0x020E024C 0x00000030 |
| 60 | DATA 4 0x020E0490 0x00000030 |
| 61 | DATA 4 0x020E0288 0x00000030 |
| 62 | DATA 4 0x020E0270 0x00000000 |
| 63 | DATA 4 0x020E0260 0x00000030 |
| 64 | DATA 4 0x020E0264 0x00000030 |
| 65 | DATA 4 0x020E04A0 0x00000030 |
| 66 | DATA 4 0x020E0494 0x00020000 |
| 67 | DATA 4 0x020E0280 0x00000030 |
| 68 | DATA 4 0x020E0284 0x00000030 |
| 69 | DATA 4 0x020E04B0 0x00020000 |
| 70 | DATA 4 0x020E0498 0x00000030 |
| 71 | DATA 4 0x020E04A4 0x00000030 |
| 72 | DATA 4 0x020E0244 0x00000030 |
| 73 | DATA 4 0x020E0248 0x00000030 |
| 74 | DATA 4 0x021B001C 0x00008000 |
| 75 | DATA 4 0x021B0800 0xA1390003 |
| 76 | DATA 4 0x021B080C 0x00000000 |
| 77 | DATA 4 0x021B083C 0x41570155 |
| 78 | DATA 4 0x021B0848 0x4040474A |
| 79 | DATA 4 0x021B0850 0x40405550 |
| 80 | DATA 4 0x021B081C 0x33333333 |
| 81 | DATA 4 0x021B0820 0x33333333 |
| 82 | DATA 4 0x021B082C 0xf3333333 |
| 83 | DATA 4 0x021B0830 0xf3333333 |
| 84 | DATA 4 0x021B08C0 0x00921012 |
| 85 | DATA 4 0x021B08b8 0x00000800 |
| 86 | DATA 4 0x021B0004 0x0002002D |
| 87 | DATA 4 0x021B0008 0x1B333030 |
| 88 | DATA 4 0x021B000C 0x676B52F3 |
| 89 | DATA 4 0x021B0010 0xB66D0B63 |
| 90 | DATA 4 0x021B0014 0x01FF00DB |
| 91 | DATA 4 0x021B0018 0x00201740 |
| 92 | DATA 4 0x021B001C 0x00008000 |
| 93 | DATA 4 0x021B002C 0x000026D2 |
| 94 | DATA 4 0x021B0030 0x006B1023 |
| 95 | DATA 4 0x021B0040 0x0000004F |
| 96 | DATA 4 0x021B0000 0x84180000 |
| 97 | DATA 4 0x021B0890 0x23400A38 |
| 98 | DATA 4 0x021B001C 0x02008032 |
| 99 | DATA 4 0x021B001C 0x00008033 |
| 100 | DATA 4 0x021B001C 0x00048031 |
| 101 | DATA 4 0x021B001C 0x15208030 |
| 102 | DATA 4 0x021B001C 0x04008040 |
| 103 | DATA 4 0x021B0020 0x00000800 |
| 104 | DATA 4 0x021B0818 0x00000227 |
| 105 | DATA 4 0x021B0004 0x0002552D |
| 106 | DATA 4 0x021B0404 0x00011006 |
| 107 | DATA 4 0x021B001C 0x00000000 |