• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-cqtcocoa誰得pythonphprubygameguibathyscaphec翻訳計画中(planning stage)omegatframeworktwittertestdomvb.netdirectxbtronarduinopreviewerゲームエンジン

Commit MetaInfo

Revisiónc065a6c6f65ff0731a9202dfedc82e9aefd6dfa9 (tree)
Tiempo2022-07-26 18:29:02
AutorPeng Fan <peng.fan@nxp....>
CommiterStefano Babic

Log Message

arm: dts: imx8m: shrink ddr firmware size to actual file size

After we switch to use BINMAN_SYMBOLS, there is no need to pad
the file size to 0x8000 and 0x4000. After we use BINMAN_SYMBOLS,
the u-boot-spl-ddr.bin shrink about 36KB with i.MX8MP-EVK.

Tested-by: Tim Harvey <tharvey@gateworks.com> #imx8m[m,n,p]-venice
Signed-off-by: Peng Fan <peng.fan@nxp.com>
Reviewed-by: Alper Nebi Yasak <alpernebiyasak@gmail.com>

Cambiar Resumen

Diferencia incremental

--- a/arch/arm/dts/imx8mm-u-boot.dtsi
+++ b/arch/arm/dts/imx8mm-u-boot.dtsi
@@ -41,25 +41,25 @@
4141
4242 ddr-1d-imem-fw {
4343 filename = "lpddr4_pmu_train_1d_imem.bin";
44- size = <0x8000>;
44+ align-end = <4>;
4545 type = "blob-ext";
4646 };
4747
4848 ddr-1d-dmem-fw {
4949 filename = "lpddr4_pmu_train_1d_dmem.bin";
50- size = <0x4000>;
50+ align-end = <4>;
5151 type = "blob-ext";
5252 };
5353
5454 ddr-2d-imem-fw {
5555 filename = "lpddr4_pmu_train_2d_imem.bin";
56- size = <0x8000>;
56+ align-end = <4>;
5757 type = "blob-ext";
5858 };
5959
6060 ddr-2d-dmem-fw {
6161 filename = "lpddr4_pmu_train_2d_dmem.bin";
62- size = <0x4000>;
62+ align-end = <4>;
6363 type = "blob-ext";
6464 };
6565 };
--- a/arch/arm/dts/imx8mn-beacon-kit-u-boot.dtsi
+++ b/arch/arm/dts/imx8mn-beacon-kit-u-boot.dtsi
@@ -149,26 +149,26 @@
149149
150150 ddr-1d-imem-fw {
151151 filename = "lpddr4_pmu_train_1d_imem.bin";
152- size = <0x8000>;
153152 type = "blob-ext";
153+ align-end = <4>;
154154 };
155155
156156 ddr-1d-dmem-fw {
157157 filename = "lpddr4_pmu_train_1d_dmem.bin";
158- size = <0x4000>;
159158 type = "blob-ext";
159+ align-end = <4>;
160160 };
161161
162162 ddr-2d-imem-fw {
163163 filename = "lpddr4_pmu_train_2d_imem.bin";
164- size = <0x8000>;
165164 type = "blob-ext";
165+ align-end = <4>;
166166 };
167167
168168 ddr-2d-dmem-fw {
169169 filename = "lpddr4_pmu_train_2d_dmem.bin";
170- size = <0x4000>;
171170 type = "blob-ext";
171+ align-end = <4>;
172172 };
173173 };
174174
--- a/arch/arm/dts/imx8mn-bsh-smm-s2-u-boot-common.dtsi
+++ b/arch/arm/dts/imx8mn-bsh-smm-s2-u-boot-common.dtsi
@@ -113,13 +113,13 @@
113113
114114 ddr-1d-imem-fw {
115115 filename = "ddr3_imem_1d.bin";
116- size = <0x8000>;
116+ align-end = <4>;
117117 type = "blob-ext";
118118 };
119119
120120 ddr-1d-dmem-fw {
121121 filename = "ddr3_dmem_1d.bin";
122- size = <0x4000>;
122+ align-end = <4>;
123123 type = "blob-ext";
124124 };
125125 };
--- a/arch/arm/dts/imx8mn-ddr4-evk-u-boot.dtsi
+++ b/arch/arm/dts/imx8mn-ddr4-evk-u-boot.dtsi
@@ -157,26 +157,26 @@
157157
158158 ddr-1d-imem-fw {
159159 filename = "ddr4_imem_1d_201810.bin";
160- size = <0x8000>;
161160 type = "blob-ext";
161+ align-end = <4>;
162162 };
163163
164164 ddr-1d-dmem-fw {
165165 filename = "ddr4_dmem_1d_201810.bin";
166- size = <0x4000>;
167166 type = "blob-ext";
167+ align-end = <4>;
168168 };
169169
170170 ddr-2d-imem-fw {
171171 filename = "ddr4_imem_2d_201810.bin";
172- size = <0x8000>;
173172 type = "blob-ext";
173+ align-end = <4>;
174174 };
175175
176176 ddr-2d-dmem-fw {
177177 filename = "ddr4_dmem_2d_201810.bin";
178- size = <0x4000>;
179178 type = "blob-ext";
179+ align-end = <4>;
180180 };
181181 };
182182
--- a/arch/arm/dts/imx8mn-evk-u-boot.dtsi
+++ b/arch/arm/dts/imx8mn-evk-u-boot.dtsi
@@ -38,26 +38,26 @@
3838
3939 ddr-1d-imem-fw {
4040 filename = "lpddr4_pmu_train_1d_imem.bin";
41- size = <0x8000>;
4241 type = "blob-ext";
42+ align-end = <4>;
4343 };
4444
4545 ddr-1d-dmem-fw {
4646 filename = "lpddr4_pmu_train_1d_dmem.bin";
47- size = <0x4000>;
4847 type = "blob-ext";
48+ align-end = <4>;
4949 };
5050
5151 ddr-2d-imem-fw {
5252 filename = "lpddr4_pmu_train_2d_imem.bin";
53- size = <0x8000>;
5453 type = "blob-ext";
54+ align-end = <4>;
5555 };
5656
5757 ddr-2d-dmem-fw {
5858 filename = "lpddr4_pmu_train_2d_dmem.bin";
59- size = <0x4000>;
6059 type = "blob-ext";
60+ align-end = <4>;
6161 };
6262 };
6363
--- a/arch/arm/dts/imx8mn-var-som-symphony-u-boot.dtsi
+++ b/arch/arm/dts/imx8mn-var-som-symphony-u-boot.dtsi
@@ -132,25 +132,25 @@
132132
133133 ddr-1d-imem-fw {
134134 filename = "ddr4_imem_1d.bin";
135- size = <0x8000>;
135+ align-end = <4>;
136136 type = "blob-ext";
137137 };
138138
139139 ddr-1d-dmem-fw {
140140 filename = "ddr4_dmem_1d.bin";
141- size = <0x4000>;
141+ align-end = <4>;
142142 type = "blob-ext";
143143 };
144144
145145 ddr-2d-imem-fw {
146146 filename = "ddr4_imem_2d.bin";
147- size = <0x8000>;
147+ align-end = <4>;
148148 type = "blob-ext";
149149 };
150150
151151 ddr-2d-dmem-fw {
152152 filename = "ddr4_dmem_2d.bin";
153- size = <0x4000>;
153+ align-end = <4>;
154154 type = "blob-ext";
155155 };
156156 };
--- a/arch/arm/dts/imx8mn-venice-u-boot.dtsi
+++ b/arch/arm/dts/imx8mn-venice-u-boot.dtsi
@@ -128,25 +128,25 @@
128128
129129 ddr-1d-imem-fw {
130130 filename = "lpddr4_pmu_train_1d_imem.bin";
131- size = <0x8000>;
131+ align-end = <4>;
132132 type = "blob-ext";
133133 };
134134
135135 ddr-1d-dmem-fw {
136136 filename = "lpddr4_pmu_train_1d_dmem.bin";
137- size = <0x4000>;
137+ align-end = <4>;
138138 type = "blob-ext";
139139 };
140140
141141 ddr-2d-imem-fw {
142142 filename = "lpddr4_pmu_train_2d_imem.bin";
143- size = <0x8000>;
143+ align-end = <4>;
144144 type = "blob-ext";
145145 };
146146
147147 ddr-2d-dmem-fw {
148148 filename = "lpddr4_pmu_train_2d_dmem.bin";
149- size = <0x4000>;
149+ align-end = <4>;
150150 type = "blob-ext";
151151 };
152152 };
--- a/arch/arm/dts/imx8mp-u-boot.dtsi
+++ b/arch/arm/dts/imx8mp-u-boot.dtsi
@@ -63,26 +63,26 @@
6363
6464 ddr-1d-imem-fw {
6565 filename = "lpddr4_pmu_train_1d_imem_202006.bin";
66- size = <0x8000>;
6766 type = "blob-ext";
67+ align-end = <4>;
6868 };
6969
7070 ddr-1d-dmem-fw {
7171 filename = "lpddr4_pmu_train_1d_dmem_202006.bin";
72- size = <0x4000>;
7372 type = "blob-ext";
73+ align-end = <4>;
7474 };
7575
7676 ddr-2d-imem-fw {
7777 filename = "lpddr4_pmu_train_2d_imem_202006.bin";
78- size = <0x8000>;
7978 type = "blob-ext";
79+ align-end = <4>;
8080 };
8181
8282 ddr-2d-dmem-fw {
8383 filename = "lpddr4_pmu_train_2d_dmem_202006.bin";
84- size = <0x4000>;
8584 type = "blob-ext";
85+ align-end = <4>;
8686 };
8787 };
8888
--- a/arch/arm/dts/imx8mq-cm-u-boot.dtsi
+++ b/arch/arm/dts/imx8mq-cm-u-boot.dtsi
@@ -30,26 +30,26 @@
3030
3131 ddr-1d-imem-fw {
3232 filename = "lpddr4_pmu_train_1d_imem.bin";
33- size = <0x8000>;
3433 type = "blob-ext";
34+ align-end = <4>;
3535 };
3636
3737 ddr-1d-dmem-fw {
3838 filename = "lpddr4_pmu_train_1d_dmem.bin";
39- size = <0x4000>;
4039 type = "blob-ext";
40+ align-end = <4>;
4141 };
4242
4343 ddr-2d-imem-fw {
4444 filename = "lpddr4_pmu_train_2d_imem.bin";
45- size = <0x8000>;
4645 type = "blob-ext";
46+ align-end = <4>;
4747 };
4848
4949 ddr-2d-dmem-fw {
5050 filename = "lpddr4_pmu_train_2d_dmem.bin";
51- size = <0x4000>;
5251 type = "blob-ext";
52+ align-end = <4>;
5353 };
5454 };
5555
--- a/arch/arm/dts/imx8mq-u-boot.dtsi
+++ b/arch/arm/dts/imx8mq-u-boot.dtsi
@@ -48,25 +48,25 @@
4848
4949 ddr-1d-imem-fw {
5050 filename = "lpddr4_pmu_train_1d_imem.bin";
51- size = <0x8000>;
51+ align-end = <4>;
5252 type = "blob-ext";
5353 };
5454
5555 ddr-1d-dmem-fw {
5656 filename = "lpddr4_pmu_train_1d_dmem.bin";
57- size = <0x4000>;
57+ align-end = <4>;
5858 type = "blob-ext";
5959 };
6060
6161 ddr-2d-imem-fw {
6262 filename = "lpddr4_pmu_train_2d_imem.bin";
63- size = <0x8000>;
63+ align-end = <4>;
6464 type = "blob-ext";
6565 };
6666
6767 ddr-2d-dmem-fw {
6868 filename = "lpddr4_pmu_train_2d_dmem.bin";
69- size = <0x4000>;
69+ align-end = <4>;
7070 type = "blob-ext";
7171 };
7272 };