imx8ulp_evk: Update DDR ports arbitration for DCNANO underrun
authorYe Li <ye.li@nxp.com>
Tue, 31 Jan 2023 08:42:32 +0000 (16:42 +0800)
committerStefano Babic <sbabic@denx.de>
Wed, 29 Mar 2023 18:15:42 +0000 (20:15 +0200)
To resolve DCNANO underrun issue, change the DDR Port 0 arbitration
from round robin fashion to fixed priority level 1, while other ports
are not assigned any priority, so they will be serviced in round robin
fashion if there is no active request from Port 0.

Signed-off-by: Ye Li <ye.li@nxp.com>
Acked-by: Peng Fan <peng.fan@nxp.com>
board/freescale/imx8ulp_evk/lpddr4_timing.c
board/freescale/imx8ulp_evk/lpddr4_timing_266.c

index 1878ca5..e9edb87 100644 (file)
@@ -198,8 +198,8 @@ struct dram_cfg_param ddr_ctl_cfg[] = {
        { 0x2e0604c8, 0x8000f00 },      /* 306 */
        { 0x2e0604cc, 0xa08 },  /* 307 */
        { 0x2e0604d0, 0x1010101 },      /* 308 */
-       { 0x2e0604d4, 0x102 },  /* 309 */
-       { 0x2e0604d8, 0x404 },  /* 310 */
+       { 0x2e0604d4, 0x01000102 },     /* 309 */
+       { 0x2e0604d8, 0x00000101 },     /* 310 */
        { 0x2e0604dc, 0x40400 },        /* 311 */
        { 0x2e0604e0, 0x4040000 },      /* 312 */
        { 0x2e0604e4, 0x4000000 },      /* 313 */
index e48cb96..9728a25 100644 (file)
@@ -197,8 +197,8 @@ struct dram_cfg_param ddr_ctl_cfg[] = {
        { 0x2e0604c8, 0x8000f00 },      /* 306 */
        { 0x2e0604cc, 0xa08 },  /* 307 */
        { 0x2e0604d0, 0x1010101 },      /* 308 */
-       { 0x2e0604d4, 0x102 },  /* 309 */
-       { 0x2e0604d8, 0x404 },  /* 310 */
+       { 0x2e0604d4, 0x01000102 },     /* 309 */
+       { 0x2e0604d8, 0x00000101 },     /* 310 */
        { 0x2e0604dc, 0x40400 },        /* 311 */
        { 0x2e0604e0, 0x4040000 },      /* 312 */
        { 0x2e0604e4, 0x4000000 },      /* 313 */