diff options
author | Ye Li | 2020-05-03 22:19:55 +0800 |
---|---|---|
committer | Stefano Babic | 2020-05-10 20:55:20 +0200 |
commit | 3462b55d177b8e195df4920493b88406dbdb8843 (patch) | |
tree | 18292253087b6d20f59c88078274a555cc8023a8 /arch/arm | |
parent | ebb9aab318b6e338bfb9d3459f1c3be4ebe48361 (diff) |
imx8mp: Set default SNSR25C for TMU probe1
So far u-boot only load SNSR25C for TMU main probe (probe 0). However,
kernel enables two probes. So it also needs to set default SNSR25C of
TCALIV1 for blank samples.
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>
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/mach-imx/imx8m/soc.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-imx/imx8m/soc.c b/arch/arm/mach-imx/imx8m/soc.c index ea0430c207f..347fd6d0ade 100644 --- a/arch/arm/mach-imx/imx8m/soc.c +++ b/arch/arm/mach-imx/imx8m/soc.c @@ -491,7 +491,9 @@ void imx_tmu_arch_init(void *reg_base) !fuse->ana_trim4 && !fuse2->ana_trim5) { /* Use a default 25C binary codes */ tca25[0] = 1596; + tca25[1] = 1596; writel(tca25[0], (ulong)reg_base + 0x30); + writel(tca25[1], (ulong)reg_base + 0x34); return; } |