Add a reserved-memory region for bootloader splashscreen, and assign it
to the display device, so that drm/msm can take over the bootloader's
splashscreen.

Signed-off-by: Rob Clark <robdclark at gmail.com>
---
 arch/arm/boot/dts/qcom-apq8064-ifc6410.dts | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/arch/arm/boot/dts/qcom-apq8064-ifc6410.dts 
b/arch/arm/boot/dts/qcom-apq8064-ifc6410.dts
index 416f3f5..0928129 100644
--- a/arch/arm/boot/dts/qcom-apq8064-ifc6410.dts
+++ b/arch/arm/boot/dts/qcom-apq8064-ifc6410.dts
@@ -15,6 +15,16 @@
                                0x90000000 0x70000000>;
        };

+       reserved-memory {
+               #address-cells = <1>;
+               #size-cells = <1>;
+               ranges;
+
+               splashmem: framebuffer at 90000000 {
+                       reg = <0x90000000 0x800000>;
+               };
+       };
+
        aliases {
                serial0 = &serial0;
                serial1 = &serial1;
@@ -183,5 +193,9 @@

                        };
                };
+
+               mdp: qcom,mdp at 5100000 {
+                       memory-region = <&splashmem>;
+               };
        };
 };
-- 
2.1.0

Reply via email to