mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-11 07:34:31 +00:00
imx8qm: power up SMMU
There is SMMU in i.MX8QM. To use SMMU in Linux, need power up it. Signed-off-by: Peng Fan <peng.fan@nxp.com>
This commit is contained in:
parent
b5fd5fd5a4
commit
8f99438b09
1 changed files with 7 additions and 0 deletions
|
@ -67,6 +67,13 @@ int arch_cpu_init_dm(void)
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (is_imx8qm()) {
|
||||||
|
ret = sc_pm_set_resource_power_mode(-1, SC_R_SMMU,
|
||||||
|
SC_PM_PW_MODE_ON);
|
||||||
|
if (ret)
|
||||||
|
return ret;
|
||||||
|
}
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue