rockchip: rk1808: fix typo

Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com>
Change-Id: I117c754994afc73a1c57274593ddc216273344d8
This commit is contained in:
Jason Zhu 2020-12-28 11:16:31 +08:00 committed by Jianhong Chen
parent 45f0941d2b
commit a432abd525
1 changed files with 2 additions and 2 deletions

View File

@ -87,7 +87,7 @@ int arch_cpu_init(void)
void board_debug_uart_init(void)
{
#ifdef CONFIG_TPL_BUILD
static struct rk1808_grf * const grf = (void *)GRF_BASE;
struct rk1808_grf * const grf = (void *)GRF_BASE;
/* Enable early UART2 channel m0 on the rk1808 */
rk_clrsetreg(&grf->iofunc_con0, UART2_IO_SEL_MASK,
@ -235,7 +235,7 @@ int rk_board_late_init(void)
void mmc_gpio_init_direct(void)
{
static struct rk1808_grf * const grf = (void *)GRF_BASE;
struct rk1808_grf * const grf = (void *)GRF_BASE;
/*
* The rk1808's pin drive strength control must set to 2ma.