Commit 2091a5fee3fb93989631fa59e30cf8298c399acf

Authored by Anson Huang
Committed by Ye Li
1 parent 2ad1304aec

MLK-12705-1 ARM: imx: add support for i.MX7D TO1.2

i.MX7D TO1.2 uses same DDR script as TO1.0,
TO1.1 uses dedicated DDR script.

Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
(cherry picked from commit 527d57e02b05eb0166dcaa1929e46dd2357a8720)

Showing 19 changed files with 746 additions and 746 deletions Side-by-side Diff

board/freescale/mx7d_12x12_ddr3_arm2/imximage.cfg
... ... @@ -48,12 +48,6 @@
48 48 * value value to be stored in the register
49 49 */
50 50  
51   -DATA 4 0x30360070 0x00703021
52   -DATA 4 0x30360090 0x0
53   -DATA 4 0x30360070 0x00603021
54   -CHECK_BITS_SET 4 0x30360070 0x80000000
55   -DATA 4 0x30389880 0x1
56   -
57 51 DATA 4 0x30340004 0x4F400005
58 52  
59 53 DATA 4 0x30391000 0x00000002
... ... @@ -89,12 +83,7 @@
89 83 DATA 4 0x30790000 0x17420f40
90 84 DATA 4 0x30790004 0x10210100
91 85 DATA 4 0x30790010 0x00060807
92   -DATA 4 0x3079009c 0x00000dee
93   -DATA 4 0x3079007c 0x18181818
94   -DATA 4 0x30790080 0x18181818
95   -DATA 4 0x30790084 0x40401818
96   -DATA 4 0x30790088 0x00000040
97   -DATA 4 0x3079006c 0x40404040
  86 +DATA 4 0x3079009c 0x00000d6e
98 87 DATA 4 0x30790020 0x08080808
99 88 DATA 4 0x30790030 0x08080808
100 89 DATA 4 0x30790050 0x01000010
board/freescale/mx7d_12x12_ddr3_arm2/imximage_TO_1_0.cfg
1   -/*
2   - * Copyright (C) 2015-2016 Freescale Semiconductor, Inc.
3   - *
4   - * SPDX-License-Identifier: GPL-2.0+
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 : one of
21   - * sd/onenand, nor
22   - */
23   -
24   -#ifdef CONFIG_SYS_BOOT_EIMNOR
25   -BOOT_FROM nor
26   -#else
27   -BOOT_FROM sd
28   -#endif
29   -
30   -#ifdef CONFIG_USE_PLUGIN
31   -/*PLUGIN plugin-binary-file IRAM_FREE_START_ADDR*/
32   -PLUGIN board/freescale/mx7d_12x12_ddr3_arm2/plugin.bin 0x00910000
33   -#else
34   -
35   -#ifdef CONFIG_SECURE_BOOT
36   -CSF CONFIG_CSF_SIZE
37   -#endif
38   -
39   -/*
40   - * Device Configuration Data (DCD)
41   - *
42   - * Each entry must have the format:
43   - * Addr-type Address Value
44   - *
45   - * where:
46   - * Addr-type register length (1,2 or 4 bytes)
47   - * Address absolute address of the register
48   - * value value to be stored in the register
49   - */
50   -
51   -DATA 4 0x30340004 0x4F400005
52   -
53   -DATA 4 0x30391000 0x00000002
54   -DATA 4 0x307a0000 0x03040001
55   -DATA 4 0x307a01a0 0x80400003
56   -DATA 4 0x307a01a4 0x00100020
57   -DATA 4 0x307a01a8 0x80100004
58   -DATA 4 0x307a0064 0x0040005e
59   -DATA 4 0x307a0490 0x00000001
60   -DATA 4 0x307a00d0 0x00020001
61   -DATA 4 0x307a00d4 0x00010000
62   -DATA 4 0x307a00dc 0x09300004
63   -DATA 4 0x307a00e0 0x04080000
64   -DATA 4 0x307a00e4 0x00090004
65   -DATA 4 0x307a00f4 0x0000033f
66   -DATA 4 0x307a0100 0x0908120a
67   -DATA 4 0x307a0104 0x0002020e
68   -DATA 4 0x307a0108 0x03040407
69   -DATA 4 0x307a010c 0x00002006
70   -DATA 4 0x307a0110 0x04020204
71   -DATA 4 0x307a0114 0x03030202
72   -DATA 4 0x307a0120 0x03030803
73   -DATA 4 0x307a0180 0x00800020
74   -DATA 4 0x307a0190 0x02098204
75   -DATA 4 0x307a0194 0x00030303
76   -DATA 4 0x307a0200 0x00000016
77   -DATA 4 0x307a0204 0x00171717
78   -DATA 4 0x307a0214 0x04040404
79   -DATA 4 0x307a0218 0x00040404
80   -DATA 4 0x307a0240 0x06000601
81   -DATA 4 0x307a0244 0x00001323
82   -DATA 4 0x30391000 0x00000000
83   -DATA 4 0x30790000 0x17420f40
84   -DATA 4 0x30790004 0x10210100
85   -DATA 4 0x30790010 0x00060807
86   -DATA 4 0x3079009c 0x00000d6e
87   -DATA 4 0x30790020 0x08080808
88   -DATA 4 0x30790030 0x08080808
89   -DATA 4 0x30790050 0x01000010
90   -DATA 4 0x30790050 0x00000010
91   -
92   -DATA 4 0x307900c0 0x0e407304
93   -DATA 4 0x307900c0 0x0e447304
94   -DATA 4 0x307900c0 0x0e447306
95   -
96   -CHECK_BITS_SET 4 0x307900c4 0x1
97   -
98   -DATA 4 0x307900c0 0x0e447304
99   -DATA 4 0x307900c0 0x0e407304
100   -
101   -DATA 4 0x30384130 0x00000000
102   -DATA 4 0x30340020 0x00000178
103   -DATA 4 0x30384130 0x00000002
104   -DATA 4 0x30790018 0x0000000f
105   -
106   -CHECK_BITS_SET 4 0x307a0004 0x1
107   -#endif
board/freescale/mx7d_12x12_ddr3_arm2/imximage_TO_1_1.cfg
  1 +/*
  2 + * Copyright (C) 2015-2016 Freescale Semiconductor, Inc.
  3 + *
  4 + * SPDX-License-Identifier: GPL-2.0+
  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 : one of
  21 + * sd/onenand, nor
  22 + */
  23 +
  24 +#ifdef CONFIG_SYS_BOOT_EIMNOR
  25 +BOOT_FROM nor
  26 +#else
  27 +BOOT_FROM sd
  28 +#endif
  29 +
  30 +#ifdef CONFIG_USE_PLUGIN
  31 +/*PLUGIN plugin-binary-file IRAM_FREE_START_ADDR*/
  32 +PLUGIN board/freescale/mx7d_12x12_ddr3_arm2/plugin.bin 0x00910000
  33 +#else
  34 +
  35 +#ifdef CONFIG_SECURE_BOOT
  36 +CSF CONFIG_CSF_SIZE
  37 +#endif
  38 +
  39 +/*
  40 + * Device Configuration Data (DCD)
  41 + *
  42 + * Each entry must have the format:
  43 + * Addr-type Address Value
  44 + *
  45 + * where:
  46 + * Addr-type register length (1,2 or 4 bytes)
  47 + * Address absolute address of the register
  48 + * value value to be stored in the register
  49 + */
  50 +
  51 +DATA 4 0x30360070 0x00703021
  52 +DATA 4 0x30360090 0x0
  53 +DATA 4 0x30360070 0x00603021
  54 +CHECK_BITS_SET 4 0x30360070 0x80000000
  55 +DATA 4 0x30389880 0x1
  56 +
  57 +DATA 4 0x30340004 0x4F400005
  58 +
  59 +DATA 4 0x30391000 0x00000002
  60 +DATA 4 0x307a0000 0x03040001
  61 +DATA 4 0x307a01a0 0x80400003
  62 +DATA 4 0x307a01a4 0x00100020
  63 +DATA 4 0x307a01a8 0x80100004
  64 +DATA 4 0x307a0064 0x0040005e
  65 +DATA 4 0x307a0490 0x00000001
  66 +DATA 4 0x307a00d0 0x00020001
  67 +DATA 4 0x307a00d4 0x00010000
  68 +DATA 4 0x307a00dc 0x09300004
  69 +DATA 4 0x307a00e0 0x04080000
  70 +DATA 4 0x307a00e4 0x00090004
  71 +DATA 4 0x307a00f4 0x0000033f
  72 +DATA 4 0x307a0100 0x0908120a
  73 +DATA 4 0x307a0104 0x0002020e
  74 +DATA 4 0x307a0108 0x03040407
  75 +DATA 4 0x307a010c 0x00002006
  76 +DATA 4 0x307a0110 0x04020204
  77 +DATA 4 0x307a0114 0x03030202
  78 +DATA 4 0x307a0120 0x03030803
  79 +DATA 4 0x307a0180 0x00800020
  80 +DATA 4 0x307a0190 0x02098204
  81 +DATA 4 0x307a0194 0x00030303
  82 +DATA 4 0x307a0200 0x00000016
  83 +DATA 4 0x307a0204 0x00171717
  84 +DATA 4 0x307a0214 0x04040404
  85 +DATA 4 0x307a0218 0x00040404
  86 +DATA 4 0x307a0240 0x06000601
  87 +DATA 4 0x307a0244 0x00001323
  88 +DATA 4 0x30391000 0x00000000
  89 +DATA 4 0x30790000 0x17420f40
  90 +DATA 4 0x30790004 0x10210100
  91 +DATA 4 0x30790010 0x00060807
  92 +DATA 4 0x3079009c 0x00000dee
  93 +DATA 4 0x3079007c 0x18181818
  94 +DATA 4 0x30790080 0x18181818
  95 +DATA 4 0x30790084 0x40401818
  96 +DATA 4 0x30790088 0x00000040
  97 +DATA 4 0x3079006c 0x40404040
  98 +DATA 4 0x30790020 0x08080808
  99 +DATA 4 0x30790030 0x08080808
  100 +DATA 4 0x30790050 0x01000010
  101 +DATA 4 0x30790050 0x00000010
  102 +
  103 +DATA 4 0x307900c0 0x0e407304
  104 +DATA 4 0x307900c0 0x0e447304
  105 +DATA 4 0x307900c0 0x0e447306
  106 +
  107 +CHECK_BITS_SET 4 0x307900c4 0x1
  108 +
  109 +DATA 4 0x307900c0 0x0e447304
  110 +DATA 4 0x307900c0 0x0e407304
  111 +
  112 +DATA 4 0x30384130 0x00000000
  113 +DATA 4 0x30340020 0x00000178
  114 +DATA 4 0x30384130 0x00000002
  115 +DATA 4 0x30790018 0x0000000f
  116 +
  117 +CHECK_BITS_SET 4 0x307a0004 0x1
  118 +#endif
board/freescale/mx7d_12x12_lpddr3_arm2/imximage.cfg
... ... @@ -95,11 +95,6 @@
95 95 DATA 4 0x30790004 0x10210100
96 96 DATA 4 0x30790008 0x00010000
97 97 DATA 4 0x30790010 0x0007080c
98   -DATA 4 0x3079007c 0x1c1c1c1c
99   -DATA 4 0x30790080 0x1c1c1c1c
100   -DATA 4 0x30790084 0x30301c1c
101   -DATA 4 0x30790088 0x00000030
102   -DATA 4 0x3079006c 0x30303030
103 98 DATA 4 0x307900b0 0x1010007e
104 99  
105 100 DATA 4 0x3079001C 0x01010000
board/freescale/mx7d_12x12_lpddr3_arm2/imximage_TO_1_0.cfg
1   -/*
2   - * Copyright (C) 2014-2016 Freescale Semiconductor, Inc.
3   - *
4   - * SPDX-License-Identifier: GPL-2.0+
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 : one of
21   - * spi/sd/nand/onenand, qspi/nor
22   - */
23   -
24   -#ifdef CONFIG_SYS_BOOT_QSPI
25   -BOOT_FROM qspi
26   -#elif defined(CONFIG_SYS_BOOT_EIMNOR)
27   -BOOT_FROM nor
28   -#else
29   -BOOT_FROM sd
30   -#endif
31   -
32   -#ifdef CONFIG_USE_PLUGIN
33   -/*PLUGIN plugin-binary-file IRAM_FREE_START_ADDR*/
34   -PLUGIN board/freescale/mx7d_12x12_lpddr3_arm2/plugin.bin 0x00910000
35   -#else
36   -
37   -#ifdef CONFIG_SECURE_BOOT
38   -CSF CONFIG_CSF_SIZE
39   -#endif
40   -
41   -/*
42   - * Device Configuration Data (DCD)
43   - *
44   - * Each entry must have the format:
45   - * Addr-type Address Value
46   - *
47   - * where:
48   - * Addr-type register length (1,2 or 4 bytes)
49   - * Address absolute address of the register
50   - * value value to be stored in the register
51   - */
52   -
53   -DATA 4 0x30340004 0x4F400005
54   -/* Clear then set bit30 to ensure exit from DDR retention */
55   -DATA 4 0x30360388 0x40000000
56   -DATA 4 0x30360384 0x40000000
57   -
58   -DATA 4 0x30391000 0x00000002
59   -DATA 4 0x307a0000 0x03040008
60   -DATA 4 0x307a0064 0x00200038
61   -DATA 4 0x307a0490 0x00000001
62   -DATA 4 0x307a00d0 0x00350001
63   -DATA 4 0x307a00dc 0x00c3000a
64   -DATA 4 0x307a00e0 0x00010000
65   -DATA 4 0x307a00e4 0x00110006
66   -DATA 4 0x307a00f4 0x0000033f
67   -DATA 4 0x307a0100 0x0a0e110b
68   -DATA 4 0x307a0104 0x00020211
69   -DATA 4 0x307a0108 0x03060708
70   -DATA 4 0x307a010c 0x00a0500c
71   -DATA 4 0x307a0110 0x05020307
72   -DATA 4 0x307a0114 0x02020404
73   -DATA 4 0x307a0118 0x02020003
74   -DATA 4 0x307a011c 0x00000202
75   -DATA 4 0x307a0120 0x00000202
76   -
77   -DATA 4 0x307a0180 0x00600018
78   -DATA 4 0x307a0184 0x00e00100
79   -DATA 4 0x307a0190 0x02098205
80   -DATA 4 0x307a0194 0x00060303
81   -DATA 4 0x307a01a0 0x80400003
82   -DATA 4 0x307a01a4 0x00100020
83   -DATA 4 0x307a01a8 0x80100004
84   -
85   -DATA 4 0x307a0200 0x00000016
86   -DATA 4 0x307a0204 0x00171717
87   -DATA 4 0x307a0210 0x00000f00
88   -DATA 4 0x307a0214 0x05050505
89   -DATA 4 0x307a0218 0x0f0f0505
90   -
91   -DATA 4 0x307a0240 0x06000601
92   -DATA 4 0x307a0244 0x00000000
93   -DATA 4 0x30391000 0x00000000
94   -DATA 4 0x30790000 0x17421e40
95   -DATA 4 0x30790004 0x10210100
96   -DATA 4 0x30790008 0x00010000
97   -DATA 4 0x30790010 0x0007080c
98   -DATA 4 0x307900b0 0x1010007e
99   -
100   -DATA 4 0x3079001C 0x01010000
101   -DATA 4 0x3079009c 0x0db60d6e
102   -
103   -DATA 4 0x30790030 0x06060606
104   -DATA 4 0x30790020 0x0a0a0a0a
105   -DATA 4 0x30790050 0x01000008
106   -DATA 4 0x30790050 0x00000008
107   -DATA 4 0x30790018 0x0000000f
108   -DATA 4 0x307900c0 0x1e487304
109   -DATA 4 0x307900c0 0x1e487304
110   -DATA 4 0x307900c0 0x1e487306
111   -DATA 4 0x307900c0 0x1e4c7304
112   -CHECK_BITS_SET 4 0x307900c4 0x1
113   -
114   -DATA 4 0x307900c0 0x1e487304
115   -
116   -DATA 4 0x30384130 0x00000000
117   -DATA 4 0x30340020 0x00000178
118   -DATA 4 0x30384130 0x00000002
119   -
120   -CHECK_BITS_SET 4 0x307a0004 0x1
121   -#endif
board/freescale/mx7d_12x12_lpddr3_arm2/imximage_TO_1_1.cfg
  1 +/*
  2 + * Copyright (C) 2014-2016 Freescale Semiconductor, Inc.
  3 + *
  4 + * SPDX-License-Identifier: GPL-2.0+
  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 : one of
  21 + * spi/sd/nand/onenand, qspi/nor
  22 + */
  23 +
  24 +#ifdef CONFIG_SYS_BOOT_QSPI
  25 +BOOT_FROM qspi
  26 +#elif defined(CONFIG_SYS_BOOT_EIMNOR)
  27 +BOOT_FROM nor
  28 +#else
  29 +BOOT_FROM sd
  30 +#endif
  31 +
  32 +#ifdef CONFIG_USE_PLUGIN
  33 +/*PLUGIN plugin-binary-file IRAM_FREE_START_ADDR*/
  34 +PLUGIN board/freescale/mx7d_12x12_lpddr3_arm2/plugin.bin 0x00910000
  35 +#else
  36 +
  37 +#ifdef CONFIG_SECURE_BOOT
  38 +CSF CONFIG_CSF_SIZE
  39 +#endif
  40 +
  41 +/*
  42 + * Device Configuration Data (DCD)
  43 + *
  44 + * Each entry must have the format:
  45 + * Addr-type Address Value
  46 + *
  47 + * where:
  48 + * Addr-type register length (1,2 or 4 bytes)
  49 + * Address absolute address of the register
  50 + * value value to be stored in the register
  51 + */
  52 +
  53 +DATA 4 0x30340004 0x4F400005
  54 +/* Clear then set bit30 to ensure exit from DDR retention */
  55 +DATA 4 0x30360388 0x40000000
  56 +DATA 4 0x30360384 0x40000000
  57 +
  58 +DATA 4 0x30391000 0x00000002
  59 +DATA 4 0x307a0000 0x03040008
  60 +DATA 4 0x307a0064 0x00200038
  61 +DATA 4 0x307a0490 0x00000001
  62 +DATA 4 0x307a00d0 0x00350001
  63 +DATA 4 0x307a00dc 0x00c3000a
  64 +DATA 4 0x307a00e0 0x00010000
  65 +DATA 4 0x307a00e4 0x00110006
  66 +DATA 4 0x307a00f4 0x0000033f
  67 +DATA 4 0x307a0100 0x0a0e110b
  68 +DATA 4 0x307a0104 0x00020211
  69 +DATA 4 0x307a0108 0x03060708
  70 +DATA 4 0x307a010c 0x00a0500c
  71 +DATA 4 0x307a0110 0x05020307
  72 +DATA 4 0x307a0114 0x02020404
  73 +DATA 4 0x307a0118 0x02020003
  74 +DATA 4 0x307a011c 0x00000202
  75 +DATA 4 0x307a0120 0x00000202
  76 +
  77 +DATA 4 0x307a0180 0x00600018
  78 +DATA 4 0x307a0184 0x00e00100
  79 +DATA 4 0x307a0190 0x02098205
  80 +DATA 4 0x307a0194 0x00060303
  81 +DATA 4 0x307a01a0 0x80400003
  82 +DATA 4 0x307a01a4 0x00100020
  83 +DATA 4 0x307a01a8 0x80100004
  84 +
  85 +DATA 4 0x307a0200 0x00000016
  86 +DATA 4 0x307a0204 0x00171717
  87 +DATA 4 0x307a0210 0x00000f00
  88 +DATA 4 0x307a0214 0x05050505
  89 +DATA 4 0x307a0218 0x0f0f0505
  90 +
  91 +DATA 4 0x307a0240 0x06000601
  92 +DATA 4 0x307a0244 0x00000000
  93 +DATA 4 0x30391000 0x00000000
  94 +DATA 4 0x30790000 0x17421e40
  95 +DATA 4 0x30790004 0x10210100
  96 +DATA 4 0x30790008 0x00010000
  97 +DATA 4 0x30790010 0x0007080c
  98 +DATA 4 0x3079007c 0x1c1c1c1c
  99 +DATA 4 0x30790080 0x1c1c1c1c
  100 +DATA 4 0x30790084 0x30301c1c
  101 +DATA 4 0x30790088 0x00000030
  102 +DATA 4 0x3079006c 0x30303030
  103 +DATA 4 0x307900b0 0x1010007e
  104 +
  105 +DATA 4 0x3079001C 0x01010000
  106 +DATA 4 0x3079009c 0x0db60d6e
  107 +
  108 +DATA 4 0x30790030 0x06060606
  109 +DATA 4 0x30790020 0x0a0a0a0a
  110 +DATA 4 0x30790050 0x01000008
  111 +DATA 4 0x30790050 0x00000008
  112 +DATA 4 0x30790018 0x0000000f
  113 +DATA 4 0x307900c0 0x1e487304
  114 +DATA 4 0x307900c0 0x1e487304
  115 +DATA 4 0x307900c0 0x1e487306
  116 +DATA 4 0x307900c0 0x1e4c7304
  117 +CHECK_BITS_SET 4 0x307900c4 0x1
  118 +
  119 +DATA 4 0x307900c0 0x1e487304
  120 +
  121 +DATA 4 0x30384130 0x00000000
  122 +DATA 4 0x30340020 0x00000178
  123 +DATA 4 0x30384130 0x00000002
  124 +
  125 +CHECK_BITS_SET 4 0x307a0004 0x1
  126 +#endif
board/freescale/mx7d_12x12_lpddr3_arm2/plugin.S
... ... @@ -230,7 +230,7 @@
230 230 cmp r7, #0x10
231 231 beq 2f
232 232  
233   - /* TO1.1 */
  233 + /* from TO1.1 */
234 234 ldr r7, [r11]
235 235 bic r7, r7, #(1 << 27)
236 236 str r7, [r11]
... ... @@ -269,8 +269,8 @@
269 269  
270 270 ldr r7, [r1, #0x800]
271 271 and r7, r7, #0xFF
272   - cmp r7, #0x10
273   - beq 4f
  272 + cmp r7, #0x11
  273 + bne 4f
274 274  
275 275 ldr r6, =0x7c
276 276 ldr r7, =0x1c1c1c1c
board/freescale/mx7d_19x19_ddr3_arm2/imximage.cfg
... ... @@ -50,12 +50,6 @@
50 50 * value value to be stored in the register
51 51 */
52 52  
53   -DATA 4 0x30360070 0x00703021
54   -DATA 4 0x30360090 0x0
55   -DATA 4 0x30360070 0x00603021
56   -CHECK_BITS_SET 4 0x30360070 0x80000000
57   -DATA 4 0x30389880 0x1
58   -
59 53 DATA 4 0x30340004 0x4F400005
60 54  
61 55 DATA 4 0x30391000 0x00000002
... ... @@ -91,12 +85,7 @@
91 85 DATA 4 0x30790000 0x17420f40
92 86 DATA 4 0x30790004 0x10210100
93 87 DATA 4 0x30790010 0x00060807
94   -DATA 4 0x3079009c 0x00000dee
95   -DATA 4 0x3079007c 0x18181818
96   -DATA 4 0x30790080 0x18181818
97   -DATA 4 0x30790084 0x40401818
98   -DATA 4 0x30790088 0x00000040
99   -DATA 4 0x3079006c 0x40404040
  88 +DATA 4 0x3079009c 0x00000d6e
100 89 DATA 4 0x30790020 0x08080808
101 90 DATA 4 0x30790030 0x08080808
102 91 DATA 4 0x30790050 0x01000010
board/freescale/mx7d_19x19_ddr3_arm2/imximage_TO_1_0.cfg
1   -/*
2   - * Copyright (C) 2014-2016 Freescale Semiconductor, Inc.
3   - *
4   - * SPDX-License-Identifier: GPL-2.0+
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 : one of
21   - * spi/sd/nand/onenand, qspi/nor
22   - */
23   -
24   -#ifdef CONFIG_SYS_BOOT_QSPI
25   -BOOT_FROM qspi
26   -#elif defined(CONFIG_SYS_BOOT_EIMNOR)
27   -BOOT_FROM nor
28   -#else
29   -BOOT_FROM sd
30   -#endif
31   -
32   -#ifdef CONFIG_USE_PLUGIN
33   -/*PLUGIN plugin-binary-file IRAM_FREE_START_ADDR*/
34   -PLUGIN board/freescale/mx7d_19x19_ddr3_arm2/plugin.bin 0x00910000
35   -#else
36   -
37   -#ifdef CONFIG_SECURE_BOOT
38   -CSF CONFIG_CSF_SIZE
39   -#endif
40   -
41   -/*
42   - * Device Configuration Data (DCD)
43   - *
44   - * Each entry must have the format:
45   - * Addr-type Address Value
46   - *
47   - * where:
48   - * Addr-type register length (1,2 or 4 bytes)
49   - * Address absolute address of the register
50   - * value value to be stored in the register
51   - */
52   -
53   -DATA 4 0x30340004 0x4F400005
54   -
55   -DATA 4 0x30391000 0x00000002
56   -DATA 4 0x307a0000 0x03040001
57   -DATA 4 0x307a01a0 0x80400003
58   -DATA 4 0x307a01a4 0x00100020
59   -DATA 4 0x307a01a8 0x80100004
60   -DATA 4 0x307a0064 0x0040005e
61   -DATA 4 0x307a0490 0x00000001
62   -DATA 4 0x307a00d0 0x00020001
63   -DATA 4 0x307a00d4 0x00010000
64   -DATA 4 0x307a00dc 0x09300004
65   -DATA 4 0x307a00e0 0x04080000
66   -DATA 4 0x307a00e4 0x00090004
67   -DATA 4 0x307a00f4 0x0000033f
68   -DATA 4 0x307a0100 0x0908120a
69   -DATA 4 0x307a0104 0x0002020e
70   -DATA 4 0x307a0108 0x03040407
71   -DATA 4 0x307a010c 0x00002006
72   -DATA 4 0x307a0110 0x04020204
73   -DATA 4 0x307a0114 0x03030202
74   -DATA 4 0x307a0120 0x03030803
75   -DATA 4 0x307a0180 0x00800020
76   -DATA 4 0x307a0190 0x02098204
77   -DATA 4 0x307a0194 0x00030303
78   -DATA 4 0x307a0200 0x00000016
79   -DATA 4 0x307a0204 0x00171717
80   -DATA 4 0x307a0214 0x04040404
81   -DATA 4 0x307a0218 0x00040404
82   -DATA 4 0x307a0240 0x06000601
83   -DATA 4 0x307a0244 0x00001323
84   -DATA 4 0x30391000 0x00000000
85   -DATA 4 0x30790000 0x17420f40
86   -DATA 4 0x30790004 0x10210100
87   -DATA 4 0x30790010 0x00060807
88   -DATA 4 0x3079009c 0x00000d6e
89   -DATA 4 0x30790020 0x08080808
90   -DATA 4 0x30790030 0x08080808
91   -DATA 4 0x30790050 0x01000010
92   -DATA 4 0x30790050 0x00000010
93   -
94   -DATA 4 0x307900c0 0x0e407304
95   -DATA 4 0x307900c0 0x0e447304
96   -DATA 4 0x307900c0 0x0e447306
97   -
98   -CHECK_BITS_SET 4 0x307900c4 0x1
99   -
100   -DATA 4 0x307900c0 0x0e447304
101   -DATA 4 0x307900c0 0x0e407304
102   -
103   -
104   -DATA 4 0x30384130 0x00000000
105   -DATA 4 0x30340020 0x00000178
106   -DATA 4 0x30384130 0x00000002
107   -DATA 4 0x30790018 0x0000000f
108   -
109   -CHECK_BITS_SET 4 0x307a0004 0x1
110   -#endif
board/freescale/mx7d_19x19_ddr3_arm2/imximage_TO_1_1.cfg
  1 +/*
  2 + * Copyright (C) 2014-2016 Freescale Semiconductor, Inc.
  3 + *
  4 + * SPDX-License-Identifier: GPL-2.0+
  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 : one of
  21 + * spi/sd/nand/onenand, qspi/nor
  22 + */
  23 +
  24 +#ifdef CONFIG_SYS_BOOT_QSPI
  25 +BOOT_FROM qspi
  26 +#elif defined(CONFIG_SYS_BOOT_EIMNOR)
  27 +BOOT_FROM nor
  28 +#else
  29 +BOOT_FROM sd
  30 +#endif
  31 +
  32 +#ifdef CONFIG_USE_PLUGIN
  33 +/*PLUGIN plugin-binary-file IRAM_FREE_START_ADDR*/
  34 +PLUGIN board/freescale/mx7d_19x19_ddr3_arm2/plugin.bin 0x00910000
  35 +#else
  36 +
  37 +#ifdef CONFIG_SECURE_BOOT
  38 +CSF CONFIG_CSF_SIZE
  39 +#endif
  40 +
  41 +/*
  42 + * Device Configuration Data (DCD)
  43 + *
  44 + * Each entry must have the format:
  45 + * Addr-type Address Value
  46 + *
  47 + * where:
  48 + * Addr-type register length (1,2 or 4 bytes)
  49 + * Address absolute address of the register
  50 + * value value to be stored in the register
  51 + */
  52 +
  53 +DATA 4 0x30360070 0x00703021
  54 +DATA 4 0x30360090 0x0
  55 +DATA 4 0x30360070 0x00603021
  56 +CHECK_BITS_SET 4 0x30360070 0x80000000
  57 +DATA 4 0x30389880 0x1
  58 +
  59 +DATA 4 0x30340004 0x4F400005
  60 +
  61 +DATA 4 0x30391000 0x00000002
  62 +DATA 4 0x307a0000 0x03040001
  63 +DATA 4 0x307a01a0 0x80400003
  64 +DATA 4 0x307a01a4 0x00100020
  65 +DATA 4 0x307a01a8 0x80100004
  66 +DATA 4 0x307a0064 0x0040005e
  67 +DATA 4 0x307a0490 0x00000001
  68 +DATA 4 0x307a00d0 0x00020001
  69 +DATA 4 0x307a00d4 0x00010000
  70 +DATA 4 0x307a00dc 0x09300004
  71 +DATA 4 0x307a00e0 0x04080000
  72 +DATA 4 0x307a00e4 0x00090004
  73 +DATA 4 0x307a00f4 0x0000033f
  74 +DATA 4 0x307a0100 0x0908120a
  75 +DATA 4 0x307a0104 0x0002020e
  76 +DATA 4 0x307a0108 0x03040407
  77 +DATA 4 0x307a010c 0x00002006
  78 +DATA 4 0x307a0110 0x04020204
  79 +DATA 4 0x307a0114 0x03030202
  80 +DATA 4 0x307a0120 0x03030803
  81 +DATA 4 0x307a0180 0x00800020
  82 +DATA 4 0x307a0190 0x02098204
  83 +DATA 4 0x307a0194 0x00030303
  84 +DATA 4 0x307a0200 0x00000016
  85 +DATA 4 0x307a0204 0x00171717
  86 +DATA 4 0x307a0214 0x04040404
  87 +DATA 4 0x307a0218 0x00040404
  88 +DATA 4 0x307a0240 0x06000601
  89 +DATA 4 0x307a0244 0x00001323
  90 +DATA 4 0x30391000 0x00000000
  91 +DATA 4 0x30790000 0x17420f40
  92 +DATA 4 0x30790004 0x10210100
  93 +DATA 4 0x30790010 0x00060807
  94 +DATA 4 0x3079009c 0x00000dee
  95 +DATA 4 0x3079007c 0x18181818
  96 +DATA 4 0x30790080 0x18181818
  97 +DATA 4 0x30790084 0x40401818
  98 +DATA 4 0x30790088 0x00000040
  99 +DATA 4 0x3079006c 0x40404040
  100 +DATA 4 0x30790020 0x08080808
  101 +DATA 4 0x30790030 0x08080808
  102 +DATA 4 0x30790050 0x01000010
  103 +DATA 4 0x30790050 0x00000010
  104 +
  105 +DATA 4 0x307900c0 0x0e407304
  106 +DATA 4 0x307900c0 0x0e447304
  107 +DATA 4 0x307900c0 0x0e447306
  108 +
  109 +CHECK_BITS_SET 4 0x307900c4 0x1
  110 +
  111 +DATA 4 0x307900c0 0x0e447304
  112 +DATA 4 0x307900c0 0x0e407304
  113 +
  114 +
  115 +DATA 4 0x30384130 0x00000000
  116 +DATA 4 0x30340020 0x00000178
  117 +DATA 4 0x30384130 0x00000002
  118 +DATA 4 0x30790018 0x0000000f
  119 +
  120 +CHECK_BITS_SET 4 0x307a0004 0x1
  121 +#endif
board/freescale/mx7d_19x19_lpddr3_arm2/imximage.cfg
... ... @@ -92,11 +92,6 @@
92 92 DATA 4 0x30790004 0x10210100
93 93 DATA 4 0x30790008 0x00010000
94 94 DATA 4 0x30790010 0x0007080c
95   -DATA 4 0x3079007c 0x1c1c1c1c
96   -DATA 4 0x30790080 0x1c1c1c1c
97   -DATA 4 0x30790084 0x30301c1c
98   -DATA 4 0x30790088 0x00000030
99   -DATA 4 0x3079006c 0x30303030
100 95 DATA 4 0x307900b0 0x1010007e
101 96  
102 97 DATA 4 0x3079001C 0x01010000
board/freescale/mx7d_19x19_lpddr3_arm2/imximage_TO_1_0.cfg
1   -/*
2   - * Copyright (C) 2015-2016 Freescale Semiconductor, Inc.
3   - *
4   - * SPDX-License-Identifier: GPL-2.0+
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 : one of
21   - * spi/sd/nand/onenand, qspi/nor
22   - */
23   -
24   -#ifdef CONFIG_SYS_BOOT_QSPI
25   -BOOT_FROM qspi
26   -#elif defined(CONFIG_SYS_BOOT_EIMNOR)
27   -BOOT_FROM nor
28   -#else
29   -BOOT_FROM sd
30   -#endif
31   -
32   -#ifdef CONFIG_USE_PLUGIN
33   -/*PLUGIN plugin-binary-file IRAM_FREE_START_ADDR*/
34   -PLUGIN board/freescale/mx7d_19x19_lpddr3_arm2/plugin.bin 0x00910000
35   -#else
36   -
37   -#ifdef CONFIG_SECURE_BOOT
38   -CSF CONFIG_CSF_SIZE
39   -#endif
40   -
41   -/*
42   - * Device Configuration Data (DCD)
43   - *
44   - * Each entry must have the format:
45   - * Addr-type Address Value
46   - *
47   - * where:
48   - * Addr-type register length (1,2 or 4 bytes)
49   - * Address absolute address of the register
50   - * value value to be stored in the register
51   - */
52   -
53   -DATA 4 0x30340004 0x4F400005
54   -
55   -DATA 4 0x30391000 0x00000002
56   -DATA 4 0x307a0000 0x03040008
57   -DATA 4 0x307a0064 0x00200038
58   -DATA 4 0x307a0490 0x00000001
59   -DATA 4 0x307a00d0 0x00350001
60   -DATA 4 0x307a00dc 0x00c3000a
61   -DATA 4 0x307a00e0 0x00010000
62   -DATA 4 0x307a00e4 0x00110006
63   -DATA 4 0x307a00f4 0x0000033f
64   -DATA 4 0x307a0100 0x0a0e110b
65   -DATA 4 0x307a0104 0x00020211
66   -DATA 4 0x307a0108 0x03060708
67   -DATA 4 0x307a010c 0x00a0500c
68   -DATA 4 0x307a0110 0x05020307
69   -DATA 4 0x307a0114 0x02020404
70   -DATA 4 0x307a0118 0x02020003
71   -DATA 4 0x307a011c 0x00000202
72   -DATA 4 0x307a0120 0x00000202
73   -
74   -DATA 4 0x307a0180 0x00600018
75   -DATA 4 0x307a0184 0x00e00100
76   -DATA 4 0x307a0190 0x02098205
77   -DATA 4 0x307a0194 0x00060303
78   -DATA 4 0x307a01a0 0x80400003
79   -DATA 4 0x307a01a4 0x00100020
80   -DATA 4 0x307a01a8 0x80100004
81   -
82   -DATA 4 0x307a0200 0x00000016
83   -DATA 4 0x307a0204 0x00171717
84   -DATA 4 0x307a0210 0x00000f00
85   -DATA 4 0x307a0214 0x05050505
86   -DATA 4 0x307a0218 0x0f0f0505
87   -
88   -DATA 4 0x307a0240 0x06000601
89   -DATA 4 0x307a0244 0x00000000
90   -DATA 4 0x30391000 0x00000000
91   -DATA 4 0x30790000 0x17421e40
92   -DATA 4 0x30790004 0x10210100
93   -DATA 4 0x30790008 0x00010000
94   -DATA 4 0x30790010 0x0007080c
95   -DATA 4 0x307900b0 0x1010007e
96   -
97   -DATA 4 0x3079001C 0x01010000
98   -DATA 4 0x3079009c 0x0db60d6e
99   -
100   -DATA 4 0x30790030 0x06060606
101   -DATA 4 0x30790020 0x0a0a0a0a
102   -DATA 4 0x30790050 0x01000008
103   -DATA 4 0x30790050 0x00000008
104   -DATA 4 0x30790018 0x0000000f
105   -DATA 4 0x307900c0 0x1e487304
106   -DATA 4 0x307900c0 0x1e487304
107   -DATA 4 0x307900c0 0x1e487306
108   -DATA 4 0x307900c0 0x1e4c7304
109   -CHECK_BITS_SET 4 0x307900c4 0x1
110   -
111   -DATA 4 0x307900c0 0x1e487304
112   -
113   -DATA 4 0x30384130 0x00000000
114   -DATA 4 0x30340020 0x00000178
115   -DATA 4 0x30384130 0x00000002
116   -
117   -CHECK_BITS_SET 4 0x307a0004 0x1
118   -#endif
board/freescale/mx7d_19x19_lpddr3_arm2/imximage_TO_1_1.cfg
  1 +/*
  2 + * Copyright (C) 2015-2016 Freescale Semiconductor, Inc.
  3 + *
  4 + * SPDX-License-Identifier: GPL-2.0+
  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 : one of
  21 + * spi/sd/nand/onenand, qspi/nor
  22 + */
  23 +
  24 +#ifdef CONFIG_SYS_BOOT_QSPI
  25 +BOOT_FROM qspi
  26 +#elif defined(CONFIG_SYS_BOOT_EIMNOR)
  27 +BOOT_FROM nor
  28 +#else
  29 +BOOT_FROM sd
  30 +#endif
  31 +
  32 +#ifdef CONFIG_USE_PLUGIN
  33 +/*PLUGIN plugin-binary-file IRAM_FREE_START_ADDR*/
  34 +PLUGIN board/freescale/mx7d_19x19_lpddr3_arm2/plugin.bin 0x00910000
  35 +#else
  36 +
  37 +#ifdef CONFIG_SECURE_BOOT
  38 +CSF CONFIG_CSF_SIZE
  39 +#endif
  40 +
  41 +/*
  42 + * Device Configuration Data (DCD)
  43 + *
  44 + * Each entry must have the format:
  45 + * Addr-type Address Value
  46 + *
  47 + * where:
  48 + * Addr-type register length (1,2 or 4 bytes)
  49 + * Address absolute address of the register
  50 + * value value to be stored in the register
  51 + */
  52 +
  53 +DATA 4 0x30340004 0x4F400005
  54 +
  55 +DATA 4 0x30391000 0x00000002
  56 +DATA 4 0x307a0000 0x03040008
  57 +DATA 4 0x307a0064 0x00200038
  58 +DATA 4 0x307a0490 0x00000001
  59 +DATA 4 0x307a00d0 0x00350001
  60 +DATA 4 0x307a00dc 0x00c3000a
  61 +DATA 4 0x307a00e0 0x00010000
  62 +DATA 4 0x307a00e4 0x00110006
  63 +DATA 4 0x307a00f4 0x0000033f
  64 +DATA 4 0x307a0100 0x0a0e110b
  65 +DATA 4 0x307a0104 0x00020211
  66 +DATA 4 0x307a0108 0x03060708
  67 +DATA 4 0x307a010c 0x00a0500c
  68 +DATA 4 0x307a0110 0x05020307
  69 +DATA 4 0x307a0114 0x02020404
  70 +DATA 4 0x307a0118 0x02020003
  71 +DATA 4 0x307a011c 0x00000202
  72 +DATA 4 0x307a0120 0x00000202
  73 +
  74 +DATA 4 0x307a0180 0x00600018
  75 +DATA 4 0x307a0184 0x00e00100
  76 +DATA 4 0x307a0190 0x02098205
  77 +DATA 4 0x307a0194 0x00060303
  78 +DATA 4 0x307a01a0 0x80400003
  79 +DATA 4 0x307a01a4 0x00100020
  80 +DATA 4 0x307a01a8 0x80100004
  81 +
  82 +DATA 4 0x307a0200 0x00000016
  83 +DATA 4 0x307a0204 0x00171717
  84 +DATA 4 0x307a0210 0x00000f00
  85 +DATA 4 0x307a0214 0x05050505
  86 +DATA 4 0x307a0218 0x0f0f0505
  87 +
  88 +DATA 4 0x307a0240 0x06000601
  89 +DATA 4 0x307a0244 0x00000000
  90 +DATA 4 0x30391000 0x00000000
  91 +DATA 4 0x30790000 0x17421e40
  92 +DATA 4 0x30790004 0x10210100
  93 +DATA 4 0x30790008 0x00010000
  94 +DATA 4 0x30790010 0x0007080c
  95 +DATA 4 0x3079007c 0x1c1c1c1c
  96 +DATA 4 0x30790080 0x1c1c1c1c
  97 +DATA 4 0x30790084 0x30301c1c
  98 +DATA 4 0x30790088 0x00000030
  99 +DATA 4 0x3079006c 0x30303030
  100 +DATA 4 0x307900b0 0x1010007e
  101 +
  102 +DATA 4 0x3079001C 0x01010000
  103 +DATA 4 0x3079009c 0x0db60d6e
  104 +
  105 +DATA 4 0x30790030 0x06060606
  106 +DATA 4 0x30790020 0x0a0a0a0a
  107 +DATA 4 0x30790050 0x01000008
  108 +DATA 4 0x30790050 0x00000008
  109 +DATA 4 0x30790018 0x0000000f
  110 +DATA 4 0x307900c0 0x1e487304
  111 +DATA 4 0x307900c0 0x1e487304
  112 +DATA 4 0x307900c0 0x1e487306
  113 +DATA 4 0x307900c0 0x1e4c7304
  114 +CHECK_BITS_SET 4 0x307900c4 0x1
  115 +
  116 +DATA 4 0x307900c0 0x1e487304
  117 +
  118 +DATA 4 0x30384130 0x00000000
  119 +DATA 4 0x30340020 0x00000178
  120 +DATA 4 0x30384130 0x00000002
  121 +
  122 +CHECK_BITS_SET 4 0x307a0004 0x1
  123 +#endif
board/freescale/mx7d_19x19_lpddr3_arm2/imximage_lpddr2.cfg
... ... @@ -96,12 +96,7 @@
96 96 DATA 4 0x307900b0 0x1010007e
97 97  
98 98 DATA 4 0x3079001C 0x01010000
99   -DATA 4 0x3079009C 0x00000dee
100   -DATA 4 0x3079007c 0x08080808
101   -DATA 4 0x30790080 0x08080808
102   -DATA 4 0x30790084 0x0a0a0808
103   -DATA 4 0x30790088 0x0000000a
104   -DATA 4 0x3079006c 0x0a0a0a0a
  99 +DATA 4 0x3079009C 0x00000d6e
105 100 DATA 4 0x30790018 0x0000000f
106 101  
107 102 DATA 4 0x30790030 0x06060606
board/freescale/mx7d_19x19_lpddr3_arm2/imximage_lpddr2_TO_1_0.cfg
1   -/*
2   - * Copyright (C) 2015-2016 Freescale Semiconductor, Inc.
3   - *
4   - * SPDX-License-Identifier: GPL-2.0+
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 : one of
21   - * spi/sd/nand/onenand, qspi/nor
22   - */
23   -
24   -#ifdef CONFIG_SYS_BOOT_QSPI
25   -BOOT_FROM qspi
26   -#elif defined(CONFIG_SYS_BOOT_EIMNOR)
27   -BOOT_FROM nor
28   -#else
29   -BOOT_FROM sd
30   -#endif
31   -
32   -#ifdef CONFIG_USE_PLUGIN
33   -/*PLUGIN plugin-binary-file IRAM_FREE_START_ADDR*/
34   -PLUGIN board/freescale/mx7d_19x19_lpddr3_arm2/plugin.bin 0x00910000
35   -#else
36   -
37   -#ifdef CONFIG_SECURE_BOOT
38   -CSF CONFIG_CSF_SIZE
39   -#endif
40   -
41   -/*
42   - * Device Configuration Data (DCD)
43   - *
44   - * Each entry must have the format:
45   - * Addr-type Address Value
46   - *
47   - * where:
48   - * Addr-type register length (1,2 or 4 bytes)
49   - * Address absolute address of the register
50   - * value value to be stored in the register
51   - */
52   -
53   -DATA 4 0x30340004 0x4F400005
54   -
55   -DATA 4 0x30391000 0x00000002
56   -DATA 4 0x307a0000 0x03020004
57   -DATA 4 0x307a01a0 0x80400003
58   -DATA 4 0x307a01a4 0x00100020
59   -DATA 4 0x307a01a8 0x80100004
60   -DATA 4 0x307a0064 0x00200023
61   -DATA 4 0x307a0490 0x00000001
62   -DATA 4 0x307a00d0 0x00350001
63   -DATA 4 0x307a00d8 0x00001105
64   -DATA 4 0x307a00dc 0x00c20006
65   -DATA 4 0x307a00e0 0x00020000
66   -DATA 4 0x307a00e4 0x00110006
67   -DATA 4 0x307a00f4 0x0000033f
68   -DATA 4 0x307a0100 0x080e110b
69   -DATA 4 0x307a0104 0x00020211
70   -DATA 4 0x307a0108 0x02040706
71   -DATA 4 0x307a010c 0x00504000
72   -DATA 4 0x307a0110 0x05010307
73   -DATA 4 0x307a0114 0x02020404
74   -DATA 4 0x307a0118 0x02020003
75   -DATA 4 0x307a011c 0x00000202
76   -DATA 4 0x307a0120 0x00000202
77   -
78   -DATA 4 0x307a0180 0x00600018
79   -DATA 4 0x307a0184 0x00e00100
80   -DATA 4 0x307a0190 0x02098203
81   -DATA 4 0x307a0194 0x00060303
82   -
83   -DATA 4 0x307a0200 0x00000015
84   -DATA 4 0x307a0204 0x00161616
85   -DATA 4 0x307a0210 0x00000f0f
86   -DATA 4 0x307a0214 0x04040404
87   -DATA 4 0x307a0218 0x0f0f0404
88   -
89   -DATA 4 0x307a0240 0x06000600
90   -DATA 4 0x307a0244 0x00000000
91   -DATA 4 0x30391000 0x00000000
92   -DATA 4 0x30790000 0x17421640
93   -DATA 4 0x30790004 0x10210100
94   -DATA 4 0x30790008 0x00010000
95   -DATA 4 0x30790010 0x00050408
96   -DATA 4 0x307900b0 0x1010007e
97   -
98   -DATA 4 0x3079001C 0x01010000
99   -DATA 4 0x3079009C 0x00000d6e
100   -DATA 4 0x30790018 0x0000000f
101   -
102   -DATA 4 0x30790030 0x06060606
103   -DATA 4 0x30790020 0x0a0a0a0a
104   -DATA 4 0x30790050 0x01000008
105   -DATA 4 0x30790050 0x00000008
106   -DATA 4 0x307900c0 0x0e487304
107   -DATA 4 0x307900c0 0x0e4c7304
108   -DATA 4 0x307900c0 0x0e4c7306
109   -CHECK_BITS_SET 4 0x307900c4 0x1
110   -
111   -DATA 4 0x307900c0 0x0e4c7304
112   -DATA 4 0x307900c0 0x0e487304
113   -
114   -DATA 4 0x30384130 0x00000000
115   -DATA 4 0x30340020 0x000001f8
116   -DATA 4 0x30384130 0x00000002
117   -
118   -CHECK_BITS_SET 4 0x307a0004 0x1
119   -#endif
board/freescale/mx7d_19x19_lpddr3_arm2/imximage_lpddr2_TO_1_1.cfg
  1 +/*
  2 + * Copyright (C) 2015-2016 Freescale Semiconductor, Inc.
  3 + *
  4 + * SPDX-License-Identifier: GPL-2.0+
  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 : one of
  21 + * spi/sd/nand/onenand, qspi/nor
  22 + */
  23 +
  24 +#ifdef CONFIG_SYS_BOOT_QSPI
  25 +BOOT_FROM qspi
  26 +#elif defined(CONFIG_SYS_BOOT_EIMNOR)
  27 +BOOT_FROM nor
  28 +#else
  29 +BOOT_FROM sd
  30 +#endif
  31 +
  32 +#ifdef CONFIG_USE_PLUGIN
  33 +/*PLUGIN plugin-binary-file IRAM_FREE_START_ADDR*/
  34 +PLUGIN board/freescale/mx7d_19x19_lpddr3_arm2/plugin.bin 0x00910000
  35 +#else
  36 +
  37 +#ifdef CONFIG_SECURE_BOOT
  38 +CSF CONFIG_CSF_SIZE
  39 +#endif
  40 +
  41 +/*
  42 + * Device Configuration Data (DCD)
  43 + *
  44 + * Each entry must have the format:
  45 + * Addr-type Address Value
  46 + *
  47 + * where:
  48 + * Addr-type register length (1,2 or 4 bytes)
  49 + * Address absolute address of the register
  50 + * value value to be stored in the register
  51 + */
  52 +
  53 +DATA 4 0x30340004 0x4F400005
  54 +
  55 +DATA 4 0x30391000 0x00000002
  56 +DATA 4 0x307a0000 0x03020004
  57 +DATA 4 0x307a01a0 0x80400003
  58 +DATA 4 0x307a01a4 0x00100020
  59 +DATA 4 0x307a01a8 0x80100004
  60 +DATA 4 0x307a0064 0x00200023
  61 +DATA 4 0x307a0490 0x00000001
  62 +DATA 4 0x307a00d0 0x00350001
  63 +DATA 4 0x307a00d8 0x00001105
  64 +DATA 4 0x307a00dc 0x00c20006
  65 +DATA 4 0x307a00e0 0x00020000
  66 +DATA 4 0x307a00e4 0x00110006
  67 +DATA 4 0x307a00f4 0x0000033f
  68 +DATA 4 0x307a0100 0x080e110b
  69 +DATA 4 0x307a0104 0x00020211
  70 +DATA 4 0x307a0108 0x02040706
  71 +DATA 4 0x307a010c 0x00504000
  72 +DATA 4 0x307a0110 0x05010307
  73 +DATA 4 0x307a0114 0x02020404
  74 +DATA 4 0x307a0118 0x02020003
  75 +DATA 4 0x307a011c 0x00000202
  76 +DATA 4 0x307a0120 0x00000202
  77 +
  78 +DATA 4 0x307a0180 0x00600018
  79 +DATA 4 0x307a0184 0x00e00100
  80 +DATA 4 0x307a0190 0x02098203
  81 +DATA 4 0x307a0194 0x00060303
  82 +
  83 +DATA 4 0x307a0200 0x00000015
  84 +DATA 4 0x307a0204 0x00161616
  85 +DATA 4 0x307a0210 0x00000f0f
  86 +DATA 4 0x307a0214 0x04040404
  87 +DATA 4 0x307a0218 0x0f0f0404
  88 +
  89 +DATA 4 0x307a0240 0x06000600
  90 +DATA 4 0x307a0244 0x00000000
  91 +DATA 4 0x30391000 0x00000000
  92 +DATA 4 0x30790000 0x17421640
  93 +DATA 4 0x30790004 0x10210100
  94 +DATA 4 0x30790008 0x00010000
  95 +DATA 4 0x30790010 0x00050408
  96 +DATA 4 0x307900b0 0x1010007e
  97 +
  98 +DATA 4 0x3079001C 0x01010000
  99 +DATA 4 0x3079009C 0x00000dee
  100 +DATA 4 0x3079007c 0x08080808
  101 +DATA 4 0x30790080 0x08080808
  102 +DATA 4 0x30790084 0x0a0a0808
  103 +DATA 4 0x30790088 0x0000000a
  104 +DATA 4 0x3079006c 0x0a0a0a0a
  105 +DATA 4 0x30790018 0x0000000f
  106 +
  107 +DATA 4 0x30790030 0x06060606
  108 +DATA 4 0x30790020 0x0a0a0a0a
  109 +DATA 4 0x30790050 0x01000008
  110 +DATA 4 0x30790050 0x00000008
  111 +DATA 4 0x307900c0 0x0e487304
  112 +DATA 4 0x307900c0 0x0e4c7304
  113 +DATA 4 0x307900c0 0x0e4c7306
  114 +CHECK_BITS_SET 4 0x307900c4 0x1
  115 +
  116 +DATA 4 0x307900c0 0x0e4c7304
  117 +DATA 4 0x307900c0 0x0e487304
  118 +
  119 +DATA 4 0x30384130 0x00000000
  120 +DATA 4 0x30340020 0x000001f8
  121 +DATA 4 0x30384130 0x00000002
  122 +
  123 +CHECK_BITS_SET 4 0x307a0004 0x1
  124 +#endif
board/freescale/mx7dsabresd/imximage.cfg
... ... @@ -50,12 +50,6 @@
50 50 * value value to be stored in the register
51 51 */
52 52  
53   -DATA 4 0x30360070 0x00703021
54   -DATA 4 0x30360090 0x0
55   -DATA 4 0x30360070 0x00603021
56   -CHECK_BITS_SET 4 0x30360070 0x80000000
57   -DATA 4 0x30389880 0x1
58   -
59 53 DATA 4 0x30340004 0x4F400005
60 54 /* Clear then set bit30 to ensure exit from DDR retention */
61 55 DATA 4 0x30360388 0x40000000
... ... @@ -96,12 +90,7 @@
96 90 DATA 4 0x30790004 0x10210100
97 91 DATA 4 0x30790010 0x00060807
98 92 DATA 4 0x307900b0 0x1010007e
99   -DATA 4 0x3079009c 0x00000dee
100   -DATA 4 0x3079007c 0x18181818
101   -DATA 4 0x30790080 0x18181818
102   -DATA 4 0x30790084 0x40401818
103   -DATA 4 0x30790088 0x00000040
104   -DATA 4 0x3079006c 0x40404040
  93 +DATA 4 0x3079009c 0x00000d6e
105 94 DATA 4 0x30790020 0x08080808
106 95 DATA 4 0x30790030 0x08080808
107 96 DATA 4 0x30790050 0x01000010
board/freescale/mx7dsabresd/imximage_TO_1_0.cfg
1   -/*
2   - * Copyright (C) 2014-2016 Freescale Semiconductor, Inc.
3   - *
4   - * SPDX-License-Identifier: GPL-2.0+
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 : one of
21   - * spi/sd/nand/onenand, qspi/nor
22   - */
23   -
24   -#ifdef CONFIG_SYS_BOOT_QSPI
25   -BOOT_FROM qspi
26   -#elif defined(CONFIG_SYS_BOOT_EIMNOR)
27   -BOOT_FROM nor
28   -#else
29   -BOOT_FROM sd
30   -#endif
31   -
32   -#ifdef CONFIG_USE_PLUGIN
33   -/*PLUGIN plugin-binary-file IRAM_FREE_START_ADDR*/
34   -PLUGIN board/freescale/mx7dsabresd/plugin.bin 0x00910000
35   -#else
36   -
37   -#ifdef CONFIG_SECURE_BOOT
38   -CSF CONFIG_CSF_SIZE
39   -#endif
40   -
41   -/*
42   - * Device Configuration Data (DCD)
43   - *
44   - * Each entry must have the format:
45   - * Addr-type Address Value
46   - *
47   - * where:
48   - * Addr-type register length (1,2 or 4 bytes)
49   - * Address absolute address of the register
50   - * value value to be stored in the register
51   - */
52   -
53   -DATA 4 0x30340004 0x4F400005
54   -/* Clear then set bit30 to ensure exit from DDR retention */
55   -DATA 4 0x30360388 0x40000000
56   -DATA 4 0x30360384 0x40000000
57   -
58   -DATA 4 0x30391000 0x00000002
59   -DATA 4 0x307a0000 0x01040001
60   -DATA 4 0x307a01a0 0x80400003
61   -DATA 4 0x307a01a4 0x00100020
62   -DATA 4 0x307a01a8 0x80100004
63   -DATA 4 0x307a0064 0x00400046
64   -DATA 4 0x307a0490 0x00000001
65   -DATA 4 0x307a00d0 0x00020083
66   -DATA 4 0x307a00d4 0x00690000
67   -DATA 4 0x307a00dc 0x09300004
68   -DATA 4 0x307a00e0 0x04080000
69   -DATA 4 0x307a00e4 0x00100004
70   -DATA 4 0x307a00f4 0x0000033f
71   -DATA 4 0x307a0100 0x09081109
72   -DATA 4 0x307a0104 0x0007020d
73   -DATA 4 0x307a0108 0x03040407
74   -DATA 4 0x307a010c 0x00002006
75   -DATA 4 0x307a0110 0x04020205
76   -DATA 4 0x307a0114 0x03030202
77   -DATA 4 0x307a0120 0x00000803
78   -DATA 4 0x307a0180 0x00800020
79   -DATA 4 0x307a0184 0x02000100
80   -DATA 4 0x307a0190 0x02098204
81   -DATA 4 0x307a0194 0x00030303
82   -DATA 4 0x307a0200 0x00000016
83   -DATA 4 0x307a0204 0x00171717
84   -DATA 4 0x307a0214 0x04040404
85   -DATA 4 0x307a0218 0x0f040404
86   -DATA 4 0x307a0240 0x06000604
87   -DATA 4 0x307a0244 0x00000001
88   -DATA 4 0x30391000 0x00000000
89   -DATA 4 0x30790000 0x17420f40
90   -DATA 4 0x30790004 0x10210100
91   -DATA 4 0x30790010 0x00060807
92   -DATA 4 0x307900b0 0x1010007e
93   -DATA 4 0x3079009c 0x00000d6e
94   -DATA 4 0x30790020 0x08080808
95   -DATA 4 0x30790030 0x08080808
96   -DATA 4 0x30790050 0x01000010
97   -DATA 4 0x30790050 0x00000010
98   -
99   -DATA 4 0x307900c0 0x0e407304
100   -DATA 4 0x307900c0 0x0e447304
101   -DATA 4 0x307900c0 0x0e447306
102   -
103   -CHECK_BITS_SET 4 0x307900c4 0x1
104   -
105   -DATA 4 0x307900c0 0x0e447304
106   -DATA 4 0x307900c0 0x0e407304
107   -
108   -
109   -DATA 4 0x30384130 0x00000000
110   -DATA 4 0x30340020 0x00000178
111   -DATA 4 0x30384130 0x00000002
112   -DATA 4 0x30790018 0x0000000f
113   -
114   -CHECK_BITS_SET 4 0x307a0004 0x1
115   -
116   -#endif
board/freescale/mx7dsabresd/imximage_TO_1_1.cfg
  1 +/*
  2 + * Copyright (C) 2014-2016 Freescale Semiconductor, Inc.
  3 + *
  4 + * SPDX-License-Identifier: GPL-2.0+
  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 : one of
  21 + * spi/sd/nand/onenand, qspi/nor
  22 + */
  23 +
  24 +#ifdef CONFIG_SYS_BOOT_QSPI
  25 +BOOT_FROM qspi
  26 +#elif defined(CONFIG_SYS_BOOT_EIMNOR)
  27 +BOOT_FROM nor
  28 +#else
  29 +BOOT_FROM sd
  30 +#endif
  31 +
  32 +#ifdef CONFIG_USE_PLUGIN
  33 +/*PLUGIN plugin-binary-file IRAM_FREE_START_ADDR*/
  34 +PLUGIN board/freescale/mx7dsabresd/plugin.bin 0x00910000
  35 +#else
  36 +
  37 +#ifdef CONFIG_SECURE_BOOT
  38 +CSF CONFIG_CSF_SIZE
  39 +#endif
  40 +
  41 +/*
  42 + * Device Configuration Data (DCD)
  43 + *
  44 + * Each entry must have the format:
  45 + * Addr-type Address Value
  46 + *
  47 + * where:
  48 + * Addr-type register length (1,2 or 4 bytes)
  49 + * Address absolute address of the register
  50 + * value value to be stored in the register
  51 + */
  52 +
  53 +DATA 4 0x30360070 0x00703021
  54 +DATA 4 0x30360090 0x0
  55 +DATA 4 0x30360070 0x00603021
  56 +CHECK_BITS_SET 4 0x30360070 0x80000000
  57 +DATA 4 0x30389880 0x1
  58 +
  59 +DATA 4 0x30340004 0x4F400005
  60 +/* Clear then set bit30 to ensure exit from DDR retention */
  61 +DATA 4 0x30360388 0x40000000
  62 +DATA 4 0x30360384 0x40000000
  63 +
  64 +DATA 4 0x30391000 0x00000002
  65 +DATA 4 0x307a0000 0x01040001
  66 +DATA 4 0x307a01a0 0x80400003
  67 +DATA 4 0x307a01a4 0x00100020
  68 +DATA 4 0x307a01a8 0x80100004
  69 +DATA 4 0x307a0064 0x00400046
  70 +DATA 4 0x307a0490 0x00000001
  71 +DATA 4 0x307a00d0 0x00020083
  72 +DATA 4 0x307a00d4 0x00690000
  73 +DATA 4 0x307a00dc 0x09300004
  74 +DATA 4 0x307a00e0 0x04080000
  75 +DATA 4 0x307a00e4 0x00100004
  76 +DATA 4 0x307a00f4 0x0000033f
  77 +DATA 4 0x307a0100 0x09081109
  78 +DATA 4 0x307a0104 0x0007020d
  79 +DATA 4 0x307a0108 0x03040407
  80 +DATA 4 0x307a010c 0x00002006
  81 +DATA 4 0x307a0110 0x04020205
  82 +DATA 4 0x307a0114 0x03030202
  83 +DATA 4 0x307a0120 0x00000803
  84 +DATA 4 0x307a0180 0x00800020
  85 +DATA 4 0x307a0184 0x02000100
  86 +DATA 4 0x307a0190 0x02098204
  87 +DATA 4 0x307a0194 0x00030303
  88 +DATA 4 0x307a0200 0x00000016
  89 +DATA 4 0x307a0204 0x00171717
  90 +DATA 4 0x307a0214 0x04040404
  91 +DATA 4 0x307a0218 0x0f040404
  92 +DATA 4 0x307a0240 0x06000604
  93 +DATA 4 0x307a0244 0x00000001
  94 +DATA 4 0x30391000 0x00000000
  95 +DATA 4 0x30790000 0x17420f40
  96 +DATA 4 0x30790004 0x10210100
  97 +DATA 4 0x30790010 0x00060807
  98 +DATA 4 0x307900b0 0x1010007e
  99 +DATA 4 0x3079009c 0x00000dee
  100 +DATA 4 0x3079007c 0x18181818
  101 +DATA 4 0x30790080 0x18181818
  102 +DATA 4 0x30790084 0x40401818
  103 +DATA 4 0x30790088 0x00000040
  104 +DATA 4 0x3079006c 0x40404040
  105 +DATA 4 0x30790020 0x08080808
  106 +DATA 4 0x30790030 0x08080808
  107 +DATA 4 0x30790050 0x01000010
  108 +DATA 4 0x30790050 0x00000010
  109 +
  110 +DATA 4 0x307900c0 0x0e407304
  111 +DATA 4 0x307900c0 0x0e447304
  112 +DATA 4 0x307900c0 0x0e447306
  113 +
  114 +CHECK_BITS_SET 4 0x307900c4 0x1
  115 +
  116 +DATA 4 0x307900c0 0x0e447304
  117 +DATA 4 0x307900c0 0x0e407304
  118 +
  119 +
  120 +DATA 4 0x30384130 0x00000000
  121 +DATA 4 0x30340020 0x00000178
  122 +DATA 4 0x30384130 0x00000002
  123 +DATA 4 0x30790018 0x0000000f
  124 +
  125 +CHECK_BITS_SET 4 0x307a0004 0x1
  126 +
  127 +#endif