blob: 92a644723188b9ad59917a2ae72054e36532adb4 [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 {
Simon Glass5d90d5e2020-09-06 10:39:10 -060055 missing-msg = "atf-bl31-sunxi";
Simon Glass896b4212020-09-01 05:14:01 -060056 };
57 };
58
59 @fdt-SEQ {
60 description = "NAME";
61 type = "flat_dt";
62 compression = "none";
63 };
64 };
65
66 configurations {
67 default = "config-1";
Samuel Holland85852b22020-10-21 21:12:10 -050068
Simon Glass896b4212020-09-01 05:14:01 -060069 @config-SEQ {
70 description = "NAME";
71 firmware = "uboot";
72 loadables = "atf";
73 fdt = "fdt-SEQ";
74 };
75 };
76 };
77#else
Simon Glassde441862016-11-25 20:16:01 -070078 u-boot-img {
Simon Glasse8561af2018-08-01 15:22:37 -060079 offset = <CONFIG_SPL_PAD_TO>;
Simon Glassde441862016-11-25 20:16:01 -070080 };
Simon Glass896b4212020-09-01 05:14:01 -060081#endif
Simon Glassde441862016-11-25 20:16:01 -070082 };
83};