blob: b7195c5671008ef26001af292e892d8fe901cf0d [file] [log] [blame]
Simon Glassde441862016-11-25 20:16:01 -07001#include <config.h>
2
3/ {
Jagan Teki301a6652019-01-21 16:01:15 +05304 aliases {
5 mmc1 = &mmc2;
6 };
7
Simon Glass896b4212020-09-01 05:14:01 -06008 binman: binman {
9 multiple-images;
10 };
11};
12
13&binman {
14 u-boot-sunxi-with-spl {
Simon Glassde441862016-11-25 20:16:01 -070015 filename = "u-boot-sunxi-with-spl.bin";
16 pad-byte = <0xff>;
Samuel Holland85852b22020-10-21 21:12:10 -050017
Simon Glassde441862016-11-25 20:16:01 -070018 blob {
19 filename = "spl/sunxi-spl.bin";
20 };
Samuel Holland85852b22020-10-21 21:12:10 -050021
Simon Glass896b4212020-09-01 05:14:01 -060022#ifdef CONFIG_ARM64
23 fit {
24 description = "Configuration to load ATF before U-Boot";
25 #address-cells = <1>;
26 fit,fdt-list = "of-list";
27
28 images {
29 uboot {
30 description = "U-Boot (64-bit)";
31 type = "standalone";
32 arch = "arm64";
33 compression = "none";
34 load = <0x4a000000>;
35
36 u-boot-nodtb {
37 };
38 };
Samuel Holland85852b22020-10-21 21:12:10 -050039
Simon Glass896b4212020-09-01 05:14:01 -060040 atf {
41 description = "ARM Trusted Firmware";
42 type = "firmware";
43 arch = "arm64";
44 compression = "none";
45/* TODO: Do this with an overwrite in this board's dtb? */
46#ifdef CONFIG_MACH_SUN50I_H6
47 load = <0x104000>;
48 entry = <0x104000>;
49#else
50 load = <0x44000>;
51 entry = <0x44000>;
52#endif
Samuel Holland85852b22020-10-21 21:12:10 -050053
Simon Glass896b4212020-09-01 05:14:01 -060054 atf-bl31 {
Samuel Hollandd8c15442020-10-21 21:12:11 -050055 filename = "bl31.bin";
Simon Glass5d90d5e2020-09-06 10:39:10 -060056 missing-msg = "atf-bl31-sunxi";
Simon Glass896b4212020-09-01 05:14:01 -060057 };
58 };
59
60 @fdt-SEQ {
61 description = "NAME";
62 type = "flat_dt";
63 compression = "none";
64 };
65 };
66
67 configurations {
68 default = "config-1";
Samuel Holland85852b22020-10-21 21:12:10 -050069
Simon Glass896b4212020-09-01 05:14:01 -060070 @config-SEQ {
71 description = "NAME";
72 firmware = "uboot";
73 loadables = "atf";
74 fdt = "fdt-SEQ";
75 };
76 };
77 };
78#else
Simon Glassde441862016-11-25 20:16:01 -070079 u-boot-img {
Simon Glasse8561af2018-08-01 15:22:37 -060080 offset = <CONFIG_SPL_PAD_TO>;
Simon Glassde441862016-11-25 20:16:01 -070081 };
Simon Glass896b4212020-09-01 05:14:01 -060082#endif
Simon Glassde441862016-11-25 20:16:01 -070083 };
84};