Skip to contentSkip to conversation

rockchip: add a dummy byte for the sdram-channel property

PATCH Superseded Ziyuan Xu 2 participants 2 messages Jul 18, 2016 – Jul 22, 2016 Arm (32-bit)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore

Ziyuan Xu

author
#0 lore raw

PATCH 1/1 rockchip: add a dummy byte for the sdram-channel property

Add an extra byte so that this data is not byteswapped.

---

 arch/arm/dts/rk3288-evb.dts | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
arch/arm/dts/rk3288-evb.dts +2 -1
index caf24ee..3e1ee58 100644
@@ -25,7 +25,8 @@
 		0x8 0x1f4>;
 	rockchip,phy-timing = <0x48d7dd93 0x187008d8 0x121076
 		0x0 0xc3 0x6 0x2>;
-	rockchip,sdram-channel = /bits/ 8 <0x2 0xa 0x3 0x2 0x2 0x0 0xe 0xe>;
+	/* Add a dummy value to cause of-platdata think this is bytes */
+	rockchip,sdram-channel = /bits/ 8 <0x2 0xa 0x3 0x2 0x2 0x0 0xe 0xe 0xff>;
 	rockchip,sdram-params = <0x20d266a4 0x5b6 2 533000000 6 9 0>;
 };
 
Signature · 1 line
1.9.1