diff options
Diffstat (limited to 'src/soc/nvidia/tegra/apbmisc.c')
-rw-r--r-- | src/soc/nvidia/tegra/apbmisc.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/soc/nvidia/tegra/apbmisc.c b/src/soc/nvidia/tegra/apbmisc.c index fea10b5dbe..5983d546d2 100644 --- a/src/soc/nvidia/tegra/apbmisc.c +++ b/src/soc/nvidia/tegra/apbmisc.c @@ -22,8 +22,14 @@ #include "apbmisc.h" +static struct apbmisc *misc = (struct apbmisc *)TEGRA_APB_MISC_BASE; + void enable_jtag(void) { - struct apbmisc *misc = (struct apbmisc *)TEGRA_APB_MISC_BASE; write32(PP_CONFIG_CTL_JTAG, &misc->pp_config_ctl); } + +void clamp_tristate_inputs(void) +{ + write32(PP_PINMUX_CLAMP_INPUTS, &misc->pp_pinmux_global); +} |