summaryrefslogtreecommitdiff
path: root/src/soc/nvidia/tegra132/soc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/nvidia/tegra132/soc.c')
-rw-r--r--src/soc/nvidia/tegra132/soc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/soc/nvidia/tegra132/soc.c b/src/soc/nvidia/tegra132/soc.c
index 476dec7a03..7923f7e3cd 100644
--- a/src/soc/nvidia/tegra132/soc.c
+++ b/src/soc/nvidia/tegra132/soc.c
@@ -83,9 +83,9 @@ static void lock_down_vpr(void)
{
struct tegra_mc_regs *regs = (void *)(uintptr_t)TEGRA_MC_BASE;
- write32(0, &regs->video_protect_bom);
- write32(0, &regs->video_protect_size_mb);
- write32(1, &regs->video_protect_reg_ctrl);
+ writel(0, &regs->video_protect_bom);
+ writel(0, &regs->video_protect_size_mb);
+ writel(1, &regs->video_protect_reg_ctrl);
}
static void soc_init(device_t dev)