blob: 1d1c36910997d3f6b9b5044cb6da071ca9a073d3 [file] [log] [blame]
Simon Glass61b994a2016-11-25 20:16:01 -07001#include <config.h>
2
3/ {
Jagan Teki708b5da2019-01-21 16:01:15 +05304 aliases {
5 mmc1 = &mmc2;
6 };
7
Simon Glasscfa3db62020-09-01 05:14:01 -06008 binman: binman {
9 multiple-images;
10 };
11};
12
13&binman {
14 u-boot-sunxi-with-spl {
Simon Glass61b994a2016-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 Glasscfa3db62020-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 {
51 };
52 };
53
54 @fdt-SEQ {
55 description = "NAME";
56 type = "flat_dt";
57 compression = "none";
58 };
59 };
60
61 configurations {
62 default = "config-1";
63 @config-SEQ {
64 description = "NAME";
65 firmware = "uboot";
66 loadables = "atf";
67 fdt = "fdt-SEQ";
68 };
69 };
70 };
71#else
Simon Glass61b994a2016-11-25 20:16:01 -070072 u-boot-img {
Simon Glass3ab95982018-08-01 15:22:37 -060073 offset = <CONFIG_SPL_PAD_TO>;
Simon Glass61b994a2016-11-25 20:16:01 -070074 };
Simon Glasscfa3db62020-09-01 05:14:01 -060075#endif
Simon Glass61b994a2016-11-25 20:16:01 -070076 };
77};