rockchip: add a dummy byte for the sdram-channel property
authorjk.kernel@gmail.com <jk.kernel@gmail.com>
Tue, 26 Jul 2016 10:28:21 +0000 (18:28 +0800)
committerSimon Glass <sjg@chromium.org>
Sun, 31 Jul 2016 13:24:20 +0000 (07:24 -0600)
Add an extra byte so that this data is not byteswapped.

Signed-off-by: Ziyuan Xu <jk.kernel@gmail.com>
Acked-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Ziyuan Xu <xzy.xu@rock-chips.com>
arch/arm/dts/rk3288-evb.dts

index caf24ee8ad19447b0a390cdcf5a74c66246b61a9..3e1ee58a5ee1279ae7241fb25e095db023862616 100644 (file)
@@ -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>;
 };