diff mbox series

[U-Boot,v1,06/07] db410c: add reserved-memory node to dts

Message ID 1515580480-26075-6-git-send-email-jorge.ramirez.ortiz@gmail.com
State Accepted
Delegated to: Tom Rini
Headers show
Series [U-Boot,v1,01/07] db410c: configs: increase gunzip buffer size for the kernel | expand

Commit Message

Jorge Ramirez-Ortiz, Gmail Jan. 10, 2018, 10:34 a.m. UTC
From: Rob Clark <robdclark@gmail.com>

If lk lights up display and populates simple-framebuffer node, it will
also setup a reserved-memory node (needed by simplefb on linux).  But
it isn't clever enough to cope when the reserved-memory node is not
present.

Signed-off-by: Rob Clark <robdclark@gmail.com>
---
 arch/arm/dts/dragonboard410c.dts | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

Comments

Tom Rini Jan. 15, 2018, 9:43 p.m. UTC | #1
On Wed, Jan 10, 2018 at 11:34:39AM +0100, Jorge Ramirez-Ortiz wrote:

> From: Rob Clark <robdclark@gmail.com>
> 
> If lk lights up display and populates simple-framebuffer node, it will
> also setup a reserved-memory node (needed by simplefb on linux).  But
> it isn't clever enough to cope when the reserved-memory node is not
> present.
> 
> Signed-off-by: Rob Clark <robdclark@gmail.com>

Applied to u-boot/master, thanks!
diff mbox series

Patch

diff --git a/arch/arm/dts/dragonboard410c.dts b/arch/arm/dts/dragonboard410c.dts
index b67e588..5ccfe7f 100644
--- a/arch/arm/dts/dragonboard410c.dts
+++ b/arch/arm/dts/dragonboard410c.dts
@@ -23,11 +23,16 @@ 
 		reg = <0 0x80000000 0 0x3da00000>;
 	};
 
+	reserved-memory {
+		#address-cells = <2>;
+		#size-cells = <2>;
+		ranges;
+	};
+
 	chosen {
 		stdout-path = "/soc/serial@78b0000";
 	};
 
-
 	soc {
 		#address-cells = <0x1>;
 		#size-cells = <0x1>;