summaryrefslogtreecommitdiff
path: root/src/mainboard/google/rush/bootblock.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/google/rush/bootblock.c')
-rw-r--r--src/mainboard/google/rush/bootblock.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/mainboard/google/rush/bootblock.c b/src/mainboard/google/rush/bootblock.c
index 6b81a8b5b7..e84a25ef8b 100644
--- a/src/mainboard/google/rush/bootblock.c
+++ b/src/mainboard/google/rush/bootblock.c
@@ -31,8 +31,6 @@
#include "pmic.h"
-static struct clk_rst_ctlr *clk_rst = (void *)TEGRA_CLK_RST_BASE;
-
static const struct pad_config uart_console_pads[] = {
/* UARTA: tx and rx. */
PAD_CFG_SFIO(KB_ROW9, PINMUX_PULL_NONE, UA3),
@@ -81,7 +79,7 @@ void bootblock_mainboard_early_init(void)
static void set_clock_sources(void)
{
/* UARTA gets PLLP, deactivate CLK_UART_DIV_OVERRIDE */
- writel(PLLP << CLK_SOURCE_SHIFT, &clk_rst->clk_src_uarta);
+ writel(PLLP << CLK_SOURCE_SHIFT, CLK_RST_REG(clk_src_uarta));
}
void bootblock_mainboard_init(void)