blob: 476a8e3dba27fdb83c26f1b4fac0948c504570cd [file] [log] [blame]
Ilko Iliev7666ccc2021-04-23 09:45:52 +02001// SPDX-License-Identifier: GPL-2.0+
2/*
3 * Copyright 2019 NXP
4 */
5
6/ {
7 binman: binman {
8 multiple-images;
9 };
10};
11
12&binman {
13 u-boot-spl-ddr {
14 filename = "u-boot-spl-ddr.bin";
15 pad-byte = <0xff>;
16 align-size = <4>;
17 align = <4>;
18
19 u-boot-spl {
20 align-end = <4>;
21 };
22
23 blob_1: blob-ext@1 {
24 filename = "lpddr4_pmu_train_1d_imem.bin";
25 size = <0x8000>;
26 };
27
28 blob_2: blob-ext@2 {
29 filename = "lpddr4_pmu_train_1d_dmem.bin";
30 size = <0x4000>;
31 };
32
33 blob_3: blob-ext@3 {
34 filename = "lpddr4_pmu_train_2d_imem.bin";
35 size = <0x8000>;
36 };
37
38 blob_4: blob-ext@4 {
39 filename = "lpddr4_pmu_train_2d_dmem.bin";
40 size = <0x4000>;
41 };
42 };
43
44 flash {
45 mkimage {
46 args = "-n spl/u-boot-spl.cfgout -T imx8mimage -e 0x7e1000";
47
48 blob {
49 filename = "u-boot-spl-ddr.bin";
50 };
51 };
52 };
53
54 itb {
55 filename = "u-boot.itb";
56
57 fit {
58 description = "Configuration to load ATF before U-Boot";
59 #address-cells = <1>;
60 fit,external-offset = <CONFIG_FIT_EXTERNAL_OFFSET>;
61
62 images {
63 uboot {
64 description = "U-Boot (64-bit)";
65 type = "standalone";
66 arch = "arm64";
67 compression = "none";
68 load = <CONFIG_SYS_TEXT_BASE>;
69
70 uboot_blob: blob-ext {
71 filename = "u-boot-nodtb.bin";
72 };
73 };
74
75 atf {
76 description = "ARM Trusted Firmware";
77 type = "firmware";
78 arch = "arm64";
79 compression = "none";
80 load = <0x910000>;
81 entry = <0x910000>;
82
83 atf_blob: blob-ext {
84 filename = "bl31.bin";
85 };
86 };
87
88 fdt {
89 description = "NAME";
90 type = "flat_dt";
91 compression = "none";
92
93 uboot_fdt_blob: blob-ext {
94 filename = "u-boot.dtb";
95 };
96 };
97 };
98
99 configurations {
100 default = "conf";
101
102 conf {
103 description = "NAME";
104 firmware = "uboot";
105 loadables = "atf";
106 fdt = "fdt";
107 };
108 };
109 };
110 };
111};