mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-10 23:24:38 +00:00
imx: i.MX8MN: Enable loading TASR and TCALIV from fuse
Like iMX8MM, iMX8MN also needs SW to load TMU TASR and TCALIV registers value from fuse before enabling TMU calibration. Otherwise the calibration is not exact. Reviewed-by: Anson Huang <Anson.Huang@nxp.com> Signed-off-by: Ye Li <ye.li@nxp.com> Signed-off-by: Peng Fan <peng.fan@nxp.com>
This commit is contained in:
parent
70487ff386
commit
94c693d782
1 changed files with 1 additions and 1 deletions
|
@ -451,7 +451,7 @@ int arch_misc_init(void)
|
|||
|
||||
void imx_tmu_arch_init(void *reg_base)
|
||||
{
|
||||
if (is_imx8mm()) {
|
||||
if (is_imx8mm() || is_imx8mn()) {
|
||||
/* Load TCALIV and TASR from fuses */
|
||||
struct ocotp_regs *ocotp =
|
||||
(struct ocotp_regs *)OCOTP_BASE_ADDR;
|
||||
|
|
Loading…
Reference in a new issue