From: Sam Day <[email protected]>

Emits an Android boot.img that runs U-Boot from the boot partition
(chained from aboot).

Signed-off-by: Sam Day <[email protected]>
---
 arch/arm/dts/msm8916-samsung-a5u-eur-u-boot.dtsi | 39 ++++++++++++++++++++++++
 1 file changed, 39 insertions(+)

diff --git a/arch/arm/dts/msm8916-samsung-a5u-eur-u-boot.dtsi 
b/arch/arm/dts/msm8916-samsung-a5u-eur-u-boot.dtsi
new file mode 100644
index 00000000000..c04109187c8
--- /dev/null
+++ b/arch/arm/dts/msm8916-samsung-a5u-eur-u-boot.dtsi
@@ -0,0 +1,39 @@
+// SPDX-License-Identifier: GPL-2.0
+
+#include <dt-bindings/arm/qcom,ids.h>
+
+/ {
+       binman {
+               filename = "u-boot-samsung-a5u-eur.img";
+
+               android-boot {
+                       header-version = <0>;
+                       page-size = <2048>;
+                       base = <0x80000000>;
+                       append-seandroid-enforce;
+
+                       kernel {
+                               u-boot {
+                                       no-expanded;
+                               };
+                       };
+
+                       ramdisk {
+                               fill {
+                                       size = <1>;
+                               };
+                       };
+
+                       vendor-dt {
+                               qcdt {
+                                       dtb-0 {
+                                               qcom,msm-id = <QCOM_ID_MSM8916 
0>;
+                                               qcom,board-id = <0xce08ff01 1>;
+
+                                               u-boot-dtb {};
+                                       };
+                               };
+                       };
+               };
+       };
+};

-- 
2.54.0


Reply via email to