blob: c97943b3c196cd6d26103e6fbb2a4cea6c2dfe6d [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>;
17 blob {
18 filename = "spl/sunxi-spl.bin";
19 };
Simon Glass896b4212020-09-01 05:14:01 -060020#ifdef CONFIG_ARM64
21 fit {
22 description = "Configuration to load ATF before U-Boot";
23 #address-cells = <1>;
24 fit,fdt-list = "of-list";
25
26 images {
27 uboot {
28 description = "U-Boot (64-bit)";
29 type = "standalone";
30 arch = "arm64";
31 compression = "none";
32 load = <0x4a000000>;
33
34 u-boot-nodtb {
35 };
36 };
37 atf {
38 description = "ARM Trusted Firmware";
39 type = "firmware";
40 arch = "arm64";
41 compression = "none";
42/* TODO: Do this with an overwrite in this board's dtb? */
43#ifdef CONFIG_MACH_SUN50I_H6
44 load = <0x104000>;
45 entry = <0x104000>;
46#else
47 load = <0x44000>;
48 entry = <0x44000>;
49#endif
50 atf-bl31 {
Simon Glass5d90d5e2020-09-06 10:39:10 -060051 missing-msg = "atf-bl31-sunxi";
Simon Glass896b4212020-09-01 05:14:01 -060052 };
53 };
54
55 @fdt-SEQ {
56 description = "NAME";
57 type = "flat_dt";
58 compression = "none";
59 };
60 };
61
62 configurations {
63 default = "config-1";
64 @config-SEQ {
65 description = "NAME";
66 firmware = "uboot";
67 loadables = "atf";
68 fdt = "fdt-SEQ";
69 };
70 };
71 };
72#else
Simon Glassde441862016-11-25 20:16:01 -070073 u-boot-img {
Simon Glasse8561af2018-08-01 15:22:37 -060074 offset = <CONFIG_SPL_PAD_TO>;
Simon Glassde441862016-11-25 20:16:01 -070075 };
Simon Glass896b4212020-09-01 05:14:01 -060076#endif
Simon Glassde441862016-11-25 20:16:01 -070077 };
78};