mx6sabresd: Fix IOMUXC_GPR6 and IOMUXC_GPR7 values
authorBreno Lima <breno.lima@nxp.com>
Wed, 2 Aug 2017 17:03:49 +0000 (14:03 -0300)
committerStefano Babic <sbabic@denx.de>
Wed, 16 Aug 2017 09:43:15 +0000 (11:43 +0200)
The IPU AXI QoS for the i.MX6QP and i.MX6DP processors have to be set as
commented in the code:
/* set IPU AXI-id1 Qos=0x1 AXI-id0/2/3 Qos=0x7 */

Set IOMUXC_GPR6 and IOMUXC_GPR7 to 0x77177717 instead of 0x007F007F.

Signed-off-by: Breno Lima <breno.lima@nxp.com>
board/freescale/mx6sabresd/mx6sabresd.c

index e4160420fa8b393d792c05b1433f39cb331dee1e..5329c3b4bd38ce200f5b100044bc6b0d395f3087 100644 (file)
@@ -755,8 +755,8 @@ static void gpr_init(void)
        writel(0xF00000CF, &iomux->gpr[4]);
        if (is_mx6dqp()) {
                /* set IPU AXI-id1 Qos=0x1 AXI-id0/2/3 Qos=0x7 */
-               writel(0x007F007F, &iomux->gpr[6]);
-               writel(0x007F007F, &iomux->gpr[7]);
+               writel(0x77177717, &iomux->gpr[6]);
+               writel(0x77177717, &iomux->gpr[7]);
        } else {
                /* set IPU AXI-id0 Qos=0xf(bypass) AXI-id1 Qos=0x7 */
                writel(0x007F007F, &iomux->gpr[6]);