summaryrefslogtreecommitdiff
path: root/src/soc/nvidia/tegra/pingroup.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/nvidia/tegra/pingroup.c')
-rw-r--r--src/soc/nvidia/tegra/pingroup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/soc/nvidia/tegra/pingroup.c b/src/soc/nvidia/tegra/pingroup.c
index c856c173ac..332e05aeaa 100644
--- a/src/soc/nvidia/tegra/pingroup.c
+++ b/src/soc/nvidia/tegra/pingroup.c
@@ -26,7 +26,7 @@ static uint32_t *pingroup_regs = (void *)TEGRA_APB_PINGROUP_BASE;
void pingroup_set_config(int group_index, uint32_t config)
{
- writel(config, &pingroup_regs[group_index]);
+ write32(&pingroup_regs[group_index], config);
}
uint32_t pingroup_get_config(int group_index)