u-boot/arch/arm/mach-rockchip/rk3288/rk3288.c
Kever Yang 15f09a1a83 rockchip: use 'arch-rockchip' as header file path
Rockchip use 'arch-rockchip' instead of arch-$(SOC) as common
header file path, so that we can get the correct path directly.

Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
2019-05-01 00:00:05 +02:00

18 lines
338 B
C

// SPDX-License-Identifier: GPL-2.0+
/*
* Copyright (c) 2016 Rockchip Electronics Co., Ltd
*/
#include <asm/io.h>
#include <asm/arch-rockchip/hardware.h>
#define GRF_SOC_CON2 0xff77024c
int arch_cpu_init(void)
{
/* We do some SoC one time setting here. */
/* Use rkpwm by default */
rk_setreg(GRF_SOC_CON2, 1 << 0);
return 0;
}