The setting does not have effect because we should set it after
power on the PS16 for NIC AV.
So move it after upower_init which has powered on all PS
Reviewed-by: Peng Fan <peng.fan@nxp.com>
Signed-off-by: Ye Li <ye.li@nxp.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
int xrdc_config_pdac(u32 bridge, u32 index, u32 dom, u32 perm);
int xrdc_config_pdac_openacc(u32 bridge, u32 index);
enum boot_device get_boot_device(void);
+void set_lpav_qos(void);
#endif
writel(0x1f, SIM_SEC_BASE_ADDR + 0x50);
writel(0xffffffff, SIM_SEC_BASE_ADDR + 0x54);
writel(0x003fffff, SIM_SEC_BASE_ADDR + 0x58);
+}
+void set_lpav_qos(void)
+{
/* Set read QoS of dcnano on LPAV NIC */
writel(0xf, 0x2e447100);
}
/* Init XRDC MRC for VIDEO, DSP domains */
xrdc_init_mrc();
+
+ /* Call it after PS16 power up */
+ set_lpav_qos();
}
void board_init_f(ulong dummy)