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>
This commit is contained in:
parent
6916dad511
commit
15f09a1a83
@ -6,7 +6,7 @@
|
||||
#ifndef _ASM_ARCH_DDR_RK3188_H
|
||||
#define _ASM_ARCH_DDR_RK3188_H
|
||||
|
||||
#include <asm/arch/ddr_rk3288.h>
|
||||
#include <asm/arch-rockchip/ddr_rk3288.h>
|
||||
|
||||
/*
|
||||
* RK3188 Memory scheduler register map.
|
||||
|
@ -192,7 +192,7 @@ config ROCKCHIP_BOOT_MODE_REG
|
||||
default 0x10300580 if ROCKCHIP_RV1108
|
||||
default 0
|
||||
help
|
||||
The Soc will enter to different boot mode(defined in asm/arch/boot_mode.h)
|
||||
The Soc will enter to different boot mode(defined in asm/arch-rockchip/boot_mode.h)
|
||||
according to the value from this register.
|
||||
|
||||
config ROCKCHIP_SPL_RESERVE_IRAM
|
||||
|
@ -6,7 +6,7 @@
|
||||
#include <common.h>
|
||||
#include <adc.h>
|
||||
#include <asm/io.h>
|
||||
#include <asm/arch/boot_mode.h>
|
||||
#include <asm/arch-rockchip/boot_mode.h>
|
||||
|
||||
#if (CONFIG_ROCKCHIP_BOOT_MODE_REG == 0)
|
||||
|
||||
|
@ -4,8 +4,8 @@
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <asm/arch/bootrom.h>
|
||||
#include <asm/arch/boot_mode.h>
|
||||
#include <asm/arch-rockchip/bootrom.h>
|
||||
#include <asm/arch-rockchip/boot_mode.h>
|
||||
#include <asm/io.h>
|
||||
#include <asm/setjmp.h>
|
||||
#include <asm/system.h>
|
||||
|
@ -6,12 +6,12 @@
|
||||
#include <common.h>
|
||||
#include <debug_uart.h>
|
||||
#include <asm/io.h>
|
||||
#include <asm/arch/bootrom.h>
|
||||
#include <asm/arch/grf_rk3036.h>
|
||||
#include <asm/arch/hardware.h>
|
||||
#include <asm/arch/sdram_rk3036.h>
|
||||
#include <asm/arch/timer.h>
|
||||
#include <asm/arch/uart.h>
|
||||
#include <asm/arch-rockchip/bootrom.h>
|
||||
#include <asm/arch-rockchip/grf_rk3036.h>
|
||||
#include <asm/arch-rockchip/hardware.h>
|
||||
#include <asm/arch-rockchip/sdram_rk3036.h>
|
||||
#include <asm/arch-rockchip/timer.h>
|
||||
#include <asm/arch-rockchip/uart.h>
|
||||
|
||||
#define GRF_BASE 0x20008000
|
||||
|
||||
|
@ -9,11 +9,11 @@
|
||||
#include <ram.h>
|
||||
#include <asm/gpio.h>
|
||||
#include <asm/io.h>
|
||||
#include <asm/arch/clock.h>
|
||||
#include <asm/arch/periph.h>
|
||||
#include <asm/arch/grf_rk3036.h>
|
||||
#include <asm/arch/boot_mode.h>
|
||||
#include <asm/arch/sdram_rk3036.h>
|
||||
#include <asm/arch-rockchip/clock.h>
|
||||
#include <asm/arch-rockchip/periph.h>
|
||||
#include <asm/arch-rockchip/grf_rk3036.h>
|
||||
#include <asm/arch-rockchip/boot_mode.h>
|
||||
#include <asm/arch-rockchip/sdram_rk3036.h>
|
||||
#include <dm/pinctrl.h>
|
||||
|
||||
DECLARE_GLOBAL_DATA_PTR;
|
||||
|
@ -7,8 +7,8 @@
|
||||
#include <common.h>
|
||||
#include <dm.h>
|
||||
#include <syscon.h>
|
||||
#include <asm/arch/clock.h>
|
||||
#include <asm/arch/cru_rk3036.h>
|
||||
#include <asm/arch-rockchip/clock.h>
|
||||
#include <asm/arch-rockchip/cru_rk3036.h>
|
||||
|
||||
int rockchip_get_clk(struct udevice **devp)
|
||||
{
|
||||
|
@ -5,12 +5,12 @@
|
||||
#include <common.h>
|
||||
#include <asm/io.h>
|
||||
#include <asm/types.h>
|
||||
#include <asm/arch/cru_rk3036.h>
|
||||
#include <asm/arch/grf_rk3036.h>
|
||||
#include <asm/arch/hardware.h>
|
||||
#include <asm/arch/sdram_rk3036.h>
|
||||
#include <asm/arch/timer.h>
|
||||
#include <asm/arch/uart.h>
|
||||
#include <asm/arch-rockchip/cru_rk3036.h>
|
||||
#include <asm/arch-rockchip/grf_rk3036.h>
|
||||
#include <asm/arch-rockchip/hardware.h>
|
||||
#include <asm/arch-rockchip/sdram_rk3036.h>
|
||||
#include <asm/arch-rockchip/timer.h>
|
||||
#include <asm/arch-rockchip/uart.h>
|
||||
|
||||
/*
|
||||
* we can not fit the code to access the device tree in SPL
|
||||
|
@ -6,7 +6,7 @@
|
||||
#include <common.h>
|
||||
#include <dm.h>
|
||||
#include <syscon.h>
|
||||
#include <asm/arch/clock.h>
|
||||
#include <asm/arch-rockchip/clock.h>
|
||||
|
||||
static const struct udevice_id rk3036_syscon_ids[] = {
|
||||
{ .compatible = "rockchip,rk3036-grf", .data = ROCKCHIP_SYSCON_GRF },
|
||||
|
@ -8,11 +8,11 @@
|
||||
#include <ram.h>
|
||||
#include <syscon.h>
|
||||
#include <asm/io.h>
|
||||
#include <asm/arch/clock.h>
|
||||
#include <asm/arch/periph.h>
|
||||
#include <asm/arch/grf_rk3128.h>
|
||||
#include <asm/arch/boot_mode.h>
|
||||
#include <asm/arch/timer.h>
|
||||
#include <asm/arch-rockchip/clock.h>
|
||||
#include <asm/arch-rockchip/periph.h>
|
||||
#include <asm/arch-rockchip/grf_rk3128.h>
|
||||
#include <asm/arch-rockchip/boot_mode.h>
|
||||
#include <asm/arch-rockchip/timer.h>
|
||||
#include <power/regulator.h>
|
||||
|
||||
DECLARE_GLOBAL_DATA_PTR;
|
||||
|
@ -6,8 +6,8 @@
|
||||
#include <common.h>
|
||||
#include <dm.h>
|
||||
#include <syscon.h>
|
||||
#include <asm/arch/clock.h>
|
||||
#include <asm/arch/cru_rk3128.h>
|
||||
#include <asm/arch-rockchip/clock.h>
|
||||
#include <asm/arch-rockchip/cru_rk3128.h>
|
||||
|
||||
int rockchip_get_clk(struct udevice **devp)
|
||||
{
|
||||
|
@ -6,7 +6,7 @@
|
||||
#include <common.h>
|
||||
#include <dm.h>
|
||||
#include <syscon.h>
|
||||
#include <asm/arch/clock.h>
|
||||
#include <asm/arch-rockchip/clock.h>
|
||||
|
||||
static const struct udevice_id rk3128_syscon_ids[] = {
|
||||
{ .compatible = "rockchip,rk3128-grf", .data = ROCKCHIP_SYSCON_GRF },
|
||||
|
@ -15,14 +15,14 @@
|
||||
#include <syscon.h>
|
||||
#include <asm/gpio.h>
|
||||
#include <asm/io.h>
|
||||
#include <asm/arch/bootrom.h>
|
||||
#include <asm/arch/clock.h>
|
||||
#include <asm/arch/grf_rk3188.h>
|
||||
#include <asm/arch/hardware.h>
|
||||
#include <asm/arch/periph.h>
|
||||
#include <asm/arch/pmu_rk3188.h>
|
||||
#include <asm/arch/sdram.h>
|
||||
#include <asm/arch/timer.h>
|
||||
#include <asm/arch-rockchip/bootrom.h>
|
||||
#include <asm/arch-rockchip/clock.h>
|
||||
#include <asm/arch-rockchip/grf_rk3188.h>
|
||||
#include <asm/arch-rockchip/hardware.h>
|
||||
#include <asm/arch-rockchip/periph.h>
|
||||
#include <asm/arch-rockchip/pmu_rk3188.h>
|
||||
#include <asm/arch-rockchip/sdram.h>
|
||||
#include <asm/arch-rockchip/timer.h>
|
||||
#include <dm/pinctrl.h>
|
||||
#include <dm/root.h>
|
||||
#include <dm/test.h>
|
||||
|
@ -10,11 +10,11 @@
|
||||
#include <syscon.h>
|
||||
#include <asm/gpio.h>
|
||||
#include <asm/io.h>
|
||||
#include <asm/arch/clock.h>
|
||||
#include <asm/arch/grf_rk3188.h>
|
||||
#include <asm/arch/periph.h>
|
||||
#include <asm/arch/pmu_rk3288.h>
|
||||
#include <asm/arch/boot_mode.h>
|
||||
#include <asm/arch-rockchip/clock.h>
|
||||
#include <asm/arch-rockchip/grf_rk3188.h>
|
||||
#include <asm/arch-rockchip/periph.h>
|
||||
#include <asm/arch-rockchip/pmu_rk3288.h>
|
||||
#include <asm/arch-rockchip/boot_mode.h>
|
||||
#include <dm/pinctrl.h>
|
||||
|
||||
__weak int rk_board_late_init(void)
|
||||
|
@ -7,8 +7,8 @@
|
||||
#include <common.h>
|
||||
#include <dm.h>
|
||||
#include <syscon.h>
|
||||
#include <asm/arch/clock.h>
|
||||
#include <asm/arch/cru_rk3188.h>
|
||||
#include <asm/arch-rockchip/clock.h>
|
||||
#include <asm/arch-rockchip/cru_rk3188.h>
|
||||
|
||||
int rockchip_get_clk(struct udevice **devp)
|
||||
{
|
||||
|
@ -7,7 +7,7 @@
|
||||
#include <common.h>
|
||||
#include <dm.h>
|
||||
#include <syscon.h>
|
||||
#include <asm/arch/clock.h>
|
||||
#include <asm/arch-rockchip/clock.h>
|
||||
|
||||
static const struct udevice_id rk3188_syscon_ids[] = {
|
||||
{ .compatible = "rockchip,rk3188-noc", .data = ROCKCHIP_SYSCON_NOC },
|
||||
|
@ -9,12 +9,12 @@
|
||||
#include <ram.h>
|
||||
#include <spl.h>
|
||||
#include <asm/io.h>
|
||||
#include <asm/arch/bootrom.h>
|
||||
#include <asm/arch/cru_rk322x.h>
|
||||
#include <asm/arch/grf_rk322x.h>
|
||||
#include <asm/arch/hardware.h>
|
||||
#include <asm/arch/timer.h>
|
||||
#include <asm/arch/uart.h>
|
||||
#include <asm/arch-rockchip/bootrom.h>
|
||||
#include <asm/arch-rockchip/cru_rk322x.h>
|
||||
#include <asm/arch-rockchip/grf_rk322x.h>
|
||||
#include <asm/arch-rockchip/hardware.h>
|
||||
#include <asm/arch-rockchip/timer.h>
|
||||
#include <asm/arch-rockchip/uart.h>
|
||||
|
||||
u32 spl_boot_device(void)
|
||||
{
|
||||
|
@ -8,10 +8,10 @@
|
||||
#include <ram.h>
|
||||
#include <syscon.h>
|
||||
#include <asm/io.h>
|
||||
#include <asm/arch/boot_mode.h>
|
||||
#include <asm/arch/clock.h>
|
||||
#include <asm/arch/periph.h>
|
||||
#include <asm/arch/grf_rk322x.h>
|
||||
#include <asm/arch-rockchip/boot_mode.h>
|
||||
#include <asm/arch-rockchip/clock.h>
|
||||
#include <asm/arch-rockchip/periph.h>
|
||||
#include <asm/arch-rockchip/grf_rk322x.h>
|
||||
|
||||
DECLARE_GLOBAL_DATA_PTR;
|
||||
|
||||
@ -29,7 +29,7 @@ int board_late_init(void)
|
||||
|
||||
int board_init(void)
|
||||
{
|
||||
#include <asm/arch/grf_rk322x.h>
|
||||
#include <asm/arch-rockchip/grf_rk322x.h>
|
||||
/* Enable early UART2 channel 1 on the RK322x */
|
||||
#define GRF_BASE 0x11000000
|
||||
struct rk322x_grf * const grf = (void *)GRF_BASE;
|
||||
|
@ -6,8 +6,8 @@
|
||||
#include <common.h>
|
||||
#include <dm.h>
|
||||
#include <syscon.h>
|
||||
#include <asm/arch/clock.h>
|
||||
#include <asm/arch/cru_rk322x.h>
|
||||
#include <asm/arch-rockchip/clock.h>
|
||||
#include <asm/arch-rockchip/cru_rk322x.h>
|
||||
|
||||
int rockchip_get_clk(struct udevice **devp)
|
||||
{
|
||||
|
@ -6,7 +6,7 @@
|
||||
#include <common.h>
|
||||
#include <dm.h>
|
||||
#include <syscon.h>
|
||||
#include <asm/arch/clock.h>
|
||||
#include <asm/arch-rockchip/clock.h>
|
||||
|
||||
static const struct udevice_id rk322x_syscon_ids[] = {
|
||||
{ .compatible = "rockchip,rk3228-grf", .data = ROCKCHIP_SYSCON_GRF },
|
||||
|
@ -14,15 +14,15 @@
|
||||
#include <spl.h>
|
||||
#include <asm/gpio.h>
|
||||
#include <asm/io.h>
|
||||
#include <asm/arch/bootrom.h>
|
||||
#include <asm/arch/clock.h>
|
||||
#include <asm/arch/hardware.h>
|
||||
#include <asm/arch/periph.h>
|
||||
#include <asm/arch/pmu_rk3288.h>
|
||||
#include <asm/arch/sdram.h>
|
||||
#include <asm/arch/sdram_common.h>
|
||||
#include <asm/arch/sys_proto.h>
|
||||
#include <asm/arch/timer.h>
|
||||
#include <asm/arch-rockchip/bootrom.h>
|
||||
#include <asm/arch-rockchip/clock.h>
|
||||
#include <asm/arch-rockchip/hardware.h>
|
||||
#include <asm/arch-rockchip/periph.h>
|
||||
#include <asm/arch-rockchip/pmu_rk3288.h>
|
||||
#include <asm/arch-rockchip/sdram.h>
|
||||
#include <asm/arch-rockchip/sdram_common.h>
|
||||
#include <asm/arch-rockchip/sys_proto.h>
|
||||
#include <asm/arch-rockchip/timer.h>
|
||||
#include <dm/pinctrl.h>
|
||||
#include <dm/root.h>
|
||||
#include <dm/test.h>
|
||||
@ -110,7 +110,7 @@ void board_init_f(ulong dummy)
|
||||
int ret;
|
||||
|
||||
/* Example code showing how to enable the debug UART on RK3288 */
|
||||
#include <asm/arch/grf_rk3288.h>
|
||||
#include <asm/arch-rockchip/grf_rk3288.h>
|
||||
/* Enable early UART on the RK3288 */
|
||||
#define GRF_BASE 0xff770000
|
||||
struct rk3288_grf * const grf = (void *)GRF_BASE;
|
||||
|
@ -10,13 +10,13 @@
|
||||
#include <spl.h>
|
||||
#include <version.h>
|
||||
#include <asm/io.h>
|
||||
#include <asm/arch/bootrom.h>
|
||||
#include <asm/arch/clock.h>
|
||||
#include <asm/arch/grf_rk3288.h>
|
||||
#include <asm/arch/periph.h>
|
||||
#include <asm/arch/pmu_rk3288.h>
|
||||
#include <asm/arch/sys_proto.h>
|
||||
#include <asm/arch/timer.h>
|
||||
#include <asm/arch-rockchip/bootrom.h>
|
||||
#include <asm/arch-rockchip/clock.h>
|
||||
#include <asm/arch-rockchip/grf_rk3288.h>
|
||||
#include <asm/arch-rockchip/periph.h>
|
||||
#include <asm/arch-rockchip/pmu_rk3288.h>
|
||||
#include <asm/arch-rockchip/sys_proto.h>
|
||||
#include <asm/arch-rockchip/timer.h>
|
||||
|
||||
#define GRF_BASE 0xff770000
|
||||
void board_init_f(ulong dummy)
|
||||
|
@ -9,12 +9,12 @@
|
||||
#include <ram.h>
|
||||
#include <syscon.h>
|
||||
#include <asm/io.h>
|
||||
#include <asm/arch/clock.h>
|
||||
#include <asm/arch/cru_rk3288.h>
|
||||
#include <asm/arch/periph.h>
|
||||
#include <asm/arch/pmu_rk3288.h>
|
||||
#include <asm/arch/qos_rk3288.h>
|
||||
#include <asm/arch/boot_mode.h>
|
||||
#include <asm/arch-rockchip/clock.h>
|
||||
#include <asm/arch-rockchip/cru_rk3288.h>
|
||||
#include <asm/arch-rockchip/periph.h>
|
||||
#include <asm/arch-rockchip/pmu_rk3288.h>
|
||||
#include <asm/arch-rockchip/qos_rk3288.h>
|
||||
#include <asm/arch-rockchip/boot_mode.h>
|
||||
#include <asm/gpio.h>
|
||||
#include <dm/pinctrl.h>
|
||||
#include <dt-bindings/clock/rk3288-cru.h>
|
||||
|
@ -7,8 +7,8 @@
|
||||
#include <common.h>
|
||||
#include <dm.h>
|
||||
#include <syscon.h>
|
||||
#include <asm/arch/clock.h>
|
||||
#include <asm/arch/cru_rk3288.h>
|
||||
#include <asm/arch-rockchip/clock.h>
|
||||
#include <asm/arch-rockchip/cru_rk3288.h>
|
||||
|
||||
int rockchip_get_clk(struct udevice **devp)
|
||||
{
|
||||
|
@ -3,7 +3,7 @@
|
||||
* Copyright (c) 2016 Rockchip Electronics Co., Ltd
|
||||
*/
|
||||
#include <asm/io.h>
|
||||
#include <asm/arch/hardware.h>
|
||||
#include <asm/arch-rockchip/hardware.h>
|
||||
|
||||
#define GRF_SOC_CON2 0xff77024c
|
||||
|
||||
|
@ -7,7 +7,7 @@
|
||||
#include <common.h>
|
||||
#include <dm.h>
|
||||
#include <syscon.h>
|
||||
#include <asm/arch/clock.h>
|
||||
#include <asm/arch-rockchip/clock.h>
|
||||
|
||||
static const struct udevice_id rk3288_syscon_ids[] = {
|
||||
{ .compatible = "rockchip,rk3288-noc", .data = ROCKCHIP_SYSCON_NOC },
|
||||
|
@ -5,8 +5,8 @@
|
||||
|
||||
#include <common.h>
|
||||
#include <dm.h>
|
||||
#include <asm/arch/clock.h>
|
||||
#include <asm/arch/cru_rk3328.h>
|
||||
#include <asm/arch-rockchip/clock.h>
|
||||
#include <asm/arch-rockchip/cru_rk3328.h>
|
||||
|
||||
int rockchip_get_clk(struct udevice **devp)
|
||||
{
|
||||
|
@ -4,7 +4,7 @@
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <asm/arch/hardware.h>
|
||||
#include <asm/arch-rockchip/hardware.h>
|
||||
#include <asm/armv8/mmu.h>
|
||||
#include <asm/io.h>
|
||||
|
||||
|
@ -4,7 +4,7 @@
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <asm/arch/clock.h>
|
||||
#include <asm/arch-rockchip/clock.h>
|
||||
#include <dm.h>
|
||||
#include <syscon.h>
|
||||
|
||||
|
@ -9,11 +9,11 @@
|
||||
#include <ram.h>
|
||||
#include <spl.h>
|
||||
#include <asm/io.h>
|
||||
#include <asm/arch/cru_rk3368.h>
|
||||
#include <asm/arch/grf_rk3368.h>
|
||||
#include <asm/arch/hardware.h>
|
||||
#include <asm/arch/periph.h>
|
||||
#include <asm/arch/timer.h>
|
||||
#include <asm/arch-rockchip/cru_rk3368.h>
|
||||
#include <asm/arch-rockchip/grf_rk3368.h>
|
||||
#include <asm/arch-rockchip/hardware.h>
|
||||
#include <asm/arch-rockchip/periph.h>
|
||||
#include <asm/arch-rockchip/timer.h>
|
||||
#include <dm/pinctrl.h>
|
||||
|
||||
void board_debug_uart_init(void)
|
||||
|
@ -10,12 +10,12 @@
|
||||
#include <spl.h>
|
||||
#include <syscon.h>
|
||||
#include <asm/io.h>
|
||||
#include <asm/arch/bootrom.h>
|
||||
#include <asm/arch/clock.h>
|
||||
#include <asm/arch/cru_rk3368.h>
|
||||
#include <asm/arch/grf_rk3368.h>
|
||||
#include <asm/arch/hardware.h>
|
||||
#include <asm/arch/timer.h>
|
||||
#include <asm/arch-rockchip/bootrom.h>
|
||||
#include <asm/arch-rockchip/clock.h>
|
||||
#include <asm/arch-rockchip/cru_rk3368.h>
|
||||
#include <asm/arch-rockchip/grf_rk3368.h>
|
||||
#include <asm/arch-rockchip/hardware.h>
|
||||
#include <asm/arch-rockchip/timer.h>
|
||||
|
||||
/*
|
||||
* The SPL (and also the full U-Boot stage on the RK3368) will run in
|
||||
|
@ -7,8 +7,8 @@
|
||||
#include <common.h>
|
||||
#include <dm.h>
|
||||
#include <syscon.h>
|
||||
#include <asm/arch/clock.h>
|
||||
#include <asm/arch/cru_rk3368.h>
|
||||
#include <asm/arch-rockchip/clock.h>
|
||||
#include <asm/arch-rockchip/cru_rk3368.h>
|
||||
|
||||
int rockchip_get_clk(struct udevice **devp)
|
||||
{
|
||||
|
@ -7,9 +7,9 @@
|
||||
#include <common.h>
|
||||
#include <asm/armv8/mmu.h>
|
||||
#include <asm/io.h>
|
||||
#include <asm/arch/clock.h>
|
||||
#include <asm/arch/cru_rk3368.h>
|
||||
#include <asm/arch/grf_rk3368.h>
|
||||
#include <asm/arch-rockchip/clock.h>
|
||||
#include <asm/arch-rockchip/cru_rk3368.h>
|
||||
#include <asm/arch-rockchip/grf_rk3368.h>
|
||||
#include <syscon.h>
|
||||
|
||||
DECLARE_GLOBAL_DATA_PTR;
|
||||
|
@ -8,7 +8,7 @@
|
||||
#include <common.h>
|
||||
#include <dm.h>
|
||||
#include <syscon.h>
|
||||
#include <asm/arch/clock.h>
|
||||
#include <asm/arch-rockchip/clock.h>
|
||||
|
||||
static const struct udevice_id rk3368_syscon_ids[] = {
|
||||
{ .compatible = "rockchip,rk3368-grf",
|
||||
|
@ -12,12 +12,12 @@
|
||||
#include <spl_gpio.h>
|
||||
#include <syscon.h>
|
||||
#include <asm/io.h>
|
||||
#include <asm/arch/bootrom.h>
|
||||
#include <asm/arch/clock.h>
|
||||
#include <asm/arch/grf_rk3399.h>
|
||||
#include <asm/arch/hardware.h>
|
||||
#include <asm/arch/periph.h>
|
||||
#include <asm/arch/sys_proto.h>
|
||||
#include <asm/arch-rockchip/bootrom.h>
|
||||
#include <asm/arch-rockchip/clock.h>
|
||||
#include <asm/arch-rockchip/grf_rk3399.h>
|
||||
#include <asm/arch-rockchip/hardware.h>
|
||||
#include <asm/arch-rockchip/periph.h>
|
||||
#include <asm/arch-rockchip/sys_proto.h>
|
||||
#include <dm/pinctrl.h>
|
||||
|
||||
void board_return_to_bootrom(void)
|
||||
|
@ -4,7 +4,7 @@
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <asm/arch/boot_mode.h>
|
||||
#include <asm/arch-rockchip/boot_mode.h>
|
||||
|
||||
int board_late_init(void)
|
||||
{
|
||||
|
@ -7,8 +7,8 @@
|
||||
#include <common.h>
|
||||
#include <dm.h>
|
||||
#include <syscon.h>
|
||||
#include <asm/arch/clock.h>
|
||||
#include <asm/arch/cru_rk3399.h>
|
||||
#include <asm/arch-rockchip/clock.h>
|
||||
#include <asm/arch-rockchip/cru_rk3399.h>
|
||||
|
||||
static int rockchip_get_cruclk(struct udevice **devp)
|
||||
{
|
||||
|
@ -4,9 +4,10 @@
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <spl_gpio.h>
|
||||
#include <asm/armv8/mmu.h>
|
||||
#include <asm/io.h>
|
||||
#include <asm/arch/hardware.h>
|
||||
#include <asm/arch-rockchip/hardware.h>
|
||||
|
||||
DECLARE_GLOBAL_DATA_PTR;
|
||||
|
||||
|
@ -6,7 +6,7 @@
|
||||
#include <common.h>
|
||||
#include <dm.h>
|
||||
#include <syscon.h>
|
||||
#include <asm/arch/clock.h>
|
||||
#include <asm/arch-rockchip/clock.h>
|
||||
|
||||
static const struct udevice_id rk3399_syscon_ids[] = {
|
||||
{ .compatible = "rockchip,rk3399-grf", .data = ROCKCHIP_SYSCON_GRF },
|
||||
|
@ -4,7 +4,7 @@
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <asm/arch/timer.h>
|
||||
#include <asm/arch-rockchip/timer.h>
|
||||
#include <asm/io.h>
|
||||
#include <linux/types.h>
|
||||
|
||||
|
@ -7,8 +7,8 @@
|
||||
#include <common.h>
|
||||
#include <dm.h>
|
||||
#include <syscon.h>
|
||||
#include <asm/arch/clock.h>
|
||||
#include <asm/arch/cru_rv1108.h>
|
||||
#include <asm/arch-rockchip/clock.h>
|
||||
#include <asm/arch-rockchip/cru_rv1108.h>
|
||||
|
||||
int rockchip_get_clk(struct udevice **devp)
|
||||
{
|
||||
|
@ -6,7 +6,7 @@
|
||||
#include <common.h>
|
||||
#include <dm.h>
|
||||
#include <syscon.h>
|
||||
#include <asm/arch/clock.h>
|
||||
#include <asm/arch-rockchip/clock.h>
|
||||
|
||||
static const struct udevice_id rv1108_syscon_ids[] = {
|
||||
{ .compatible = "rockchip,rv1108-grf", .data = ROCKCHIP_SYSCON_GRF },
|
||||
|
@ -7,7 +7,7 @@
|
||||
#include <dm.h>
|
||||
#include <ram.h>
|
||||
#include <asm/io.h>
|
||||
#include <asm/arch/sdram_common.h>
|
||||
#include <asm/arch-rockchip/sdram_common.h>
|
||||
#include <dm/uclass-internal.h>
|
||||
|
||||
DECLARE_GLOBAL_DATA_PTR;
|
||||
|
@ -7,8 +7,8 @@
|
||||
#include <common.h>
|
||||
#include <asm/io.h>
|
||||
#include <fdtdec.h>
|
||||
#include <asm/arch/grf_rv1108.h>
|
||||
#include <asm/arch/hardware.h>
|
||||
#include <asm/arch-rockchip/grf_rv1108.h>
|
||||
#include <asm/arch-rockchip/hardware.h>
|
||||
#include <asm/gpio.h>
|
||||
|
||||
DECLARE_GLOBAL_DATA_PTR;
|
||||
|
@ -6,8 +6,8 @@
|
||||
#include <common.h>
|
||||
#include <dm.h>
|
||||
#include <asm/io.h>
|
||||
#include <asm/arch/uart.h>
|
||||
#include <asm/arch/sdram_rk3036.h>
|
||||
#include <asm/arch-rockchip/uart.h>
|
||||
#include <asm/arch-rockchip/sdram_rk3036.h>
|
||||
|
||||
void get_ddr_config(struct rk3036_ddr_config *config)
|
||||
{
|
||||
|
@ -6,5 +6,5 @@
|
||||
#include <common.h>
|
||||
#include <dm.h>
|
||||
#include <asm/io.h>
|
||||
#include <asm/arch/uart.h>
|
||||
#include <asm/arch-rockchip/uart.h>
|
||||
|
||||
|
@ -7,7 +7,7 @@
|
||||
#include <dm.h>
|
||||
#include <dm/pinctrl.h>
|
||||
#include <dm/uclass-internal.h>
|
||||
#include <asm/arch/periph.h>
|
||||
#include <asm/arch-rockchip/periph.h>
|
||||
#include <power/regulator.h>
|
||||
#include <spl.h>
|
||||
|
||||
|
@ -7,8 +7,8 @@
|
||||
#include <common.h>
|
||||
#include <asm/io.h>
|
||||
#include <fdtdec.h>
|
||||
#include <asm/arch/grf_rv1108.h>
|
||||
#include <asm/arch/hardware.h>
|
||||
#include <asm/arch-rockchip/grf_rv1108.h>
|
||||
#include <asm/arch-rockchip/hardware.h>
|
||||
|
||||
DECLARE_GLOBAL_DATA_PTR;
|
||||
|
||||
|
@ -6,8 +6,8 @@
|
||||
#include <common.h>
|
||||
#include <dm.h>
|
||||
#include <asm/io.h>
|
||||
#include <asm/arch/uart.h>
|
||||
#include <asm/arch/sdram_rk3036.h>
|
||||
#include <asm/arch-rockchip/uart.h>
|
||||
#include <asm/arch-rockchip/sdram_rk3036.h>
|
||||
#include <asm/gpio.h>
|
||||
|
||||
void get_ddr_config(struct rk3036_ddr_config *config)
|
||||
|
@ -4,8 +4,8 @@
|
||||
*/
|
||||
#include <common.h>
|
||||
#include <asm/io.h>
|
||||
#include <asm/arch/clock.h>
|
||||
#include <asm/arch/grf_rk3368.h>
|
||||
#include <asm/arch-rockchip/clock.h>
|
||||
#include <asm/arch-rockchip/grf_rk3368.h>
|
||||
#include <syscon.h>
|
||||
|
||||
int mach_cpu_init(void)
|
||||
|
@ -6,9 +6,9 @@
|
||||
#include <dm.h>
|
||||
#include <ram.h>
|
||||
#include <asm/io.h>
|
||||
#include <asm/arch/clock.h>
|
||||
#include <asm/arch/grf_rk3368.h>
|
||||
#include <asm/arch/timer.h>
|
||||
#include <asm/arch-rockchip/clock.h>
|
||||
#include <asm/arch-rockchip/grf_rk3368.h>
|
||||
#include <asm/arch-rockchip/timer.h>
|
||||
#include <syscon.h>
|
||||
|
||||
int mach_cpu_init(void)
|
||||
|
@ -15,11 +15,11 @@
|
||||
#include <asm/io.h>
|
||||
#include <asm/gpio.h>
|
||||
#include <asm/setup.h>
|
||||
#include <asm/arch/clock.h>
|
||||
#include <asm/arch/cru_rk3399.h>
|
||||
#include <asm/arch/hardware.h>
|
||||
#include <asm/arch/grf_rk3399.h>
|
||||
#include <asm/arch/periph.h>
|
||||
#include <asm/arch-rockchip/clock.h>
|
||||
#include <asm/arch-rockchip/cru_rk3399.h>
|
||||
#include <asm/arch-rockchip/hardware.h>
|
||||
#include <asm/arch-rockchip/grf_rk3399.h>
|
||||
#include <asm/arch-rockchip/periph.h>
|
||||
#include <power/regulator.h>
|
||||
#include <u-boot/sha256.h>
|
||||
|
||||
|
@ -7,7 +7,7 @@
|
||||
#include <dm.h>
|
||||
#include <dm/pinctrl.h>
|
||||
#include <dm/uclass-internal.h>
|
||||
#include <asm/arch/periph.h>
|
||||
#include <asm/arch-rockchip/periph.h>
|
||||
#include <power/regulator.h>
|
||||
#include <spl.h>
|
||||
|
||||
|
@ -8,7 +8,7 @@
|
||||
#include <console.h>
|
||||
#include <g_dnl.h>
|
||||
#include <usb.h>
|
||||
#include <asm/arch/f_rockusb.h>
|
||||
#include <asm/arch-rockchip/f_rockusb.h>
|
||||
|
||||
static int do_rockusb(cmd_tbl_t *cmdtp, int flag, int argc, char *const argv[])
|
||||
{
|
||||
|
@ -9,9 +9,9 @@
|
||||
#include <errno.h>
|
||||
#include <syscon.h>
|
||||
#include <asm/io.h>
|
||||
#include <asm/arch/clock.h>
|
||||
#include <asm/arch/cru_rk3036.h>
|
||||
#include <asm/arch/hardware.h>
|
||||
#include <asm/arch-rockchip/clock.h>
|
||||
#include <asm/arch-rockchip/cru_rk3036.h>
|
||||
#include <asm/arch-rockchip/hardware.h>
|
||||
#include <dm/lists.h>
|
||||
#include <dt-bindings/clock/rk3036-cru.h>
|
||||
#include <linux/log2.h>
|
||||
|
@ -9,9 +9,9 @@
|
||||
#include <errno.h>
|
||||
#include <syscon.h>
|
||||
#include <asm/io.h>
|
||||
#include <asm/arch/clock.h>
|
||||
#include <asm/arch/cru_rk3128.h>
|
||||
#include <asm/arch/hardware.h>
|
||||
#include <asm/arch-rockchip/clock.h>
|
||||
#include <asm/arch-rockchip/cru_rk3128.h>
|
||||
#include <asm/arch-rockchip/hardware.h>
|
||||
#include <bitfield.h>
|
||||
#include <dm/lists.h>
|
||||
#include <dt-bindings/clock/rk3128-cru.h>
|
||||
|
@ -12,10 +12,10 @@
|
||||
#include <mapmem.h>
|
||||
#include <syscon.h>
|
||||
#include <asm/io.h>
|
||||
#include <asm/arch/clock.h>
|
||||
#include <asm/arch/cru_rk3188.h>
|
||||
#include <asm/arch/grf_rk3188.h>
|
||||
#include <asm/arch/hardware.h>
|
||||
#include <asm/arch-rockchip/clock.h>
|
||||
#include <asm/arch-rockchip/cru_rk3188.h>
|
||||
#include <asm/arch-rockchip/grf_rk3188.h>
|
||||
#include <asm/arch-rockchip/hardware.h>
|
||||
#include <dt-bindings/clock/rk3188-cru.h>
|
||||
#include <dm/device-internal.h>
|
||||
#include <dm/lists.h>
|
||||
|
@ -9,9 +9,9 @@
|
||||
#include <errno.h>
|
||||
#include <syscon.h>
|
||||
#include <asm/io.h>
|
||||
#include <asm/arch/clock.h>
|
||||
#include <asm/arch/cru_rk322x.h>
|
||||
#include <asm/arch/hardware.h>
|
||||
#include <asm/arch-rockchip/clock.h>
|
||||
#include <asm/arch-rockchip/cru_rk322x.h>
|
||||
#include <asm/arch-rockchip/hardware.h>
|
||||
#include <dm/lists.h>
|
||||
#include <dt-bindings/clock/rk3228-cru.h>
|
||||
#include <linux/log2.h>
|
||||
|
@ -13,10 +13,10 @@
|
||||
#include <mapmem.h>
|
||||
#include <syscon.h>
|
||||
#include <asm/io.h>
|
||||
#include <asm/arch/clock.h>
|
||||
#include <asm/arch/cru_rk3288.h>
|
||||
#include <asm/arch/grf_rk3288.h>
|
||||
#include <asm/arch/hardware.h>
|
||||
#include <asm/arch-rockchip/clock.h>
|
||||
#include <asm/arch-rockchip/cru_rk3288.h>
|
||||
#include <asm/arch-rockchip/grf_rk3288.h>
|
||||
#include <asm/arch-rockchip/hardware.h>
|
||||
#include <dt-bindings/clock/rk3288-cru.h>
|
||||
#include <dm/device-internal.h>
|
||||
#include <dm/lists.h>
|
||||
|
@ -9,10 +9,10 @@
|
||||
#include <dm.h>
|
||||
#include <errno.h>
|
||||
#include <syscon.h>
|
||||
#include <asm/arch/clock.h>
|
||||
#include <asm/arch/cru_rk3328.h>
|
||||
#include <asm/arch/hardware.h>
|
||||
#include <asm/arch/grf_rk3328.h>
|
||||
#include <asm/arch-rockchip/clock.h>
|
||||
#include <asm/arch-rockchip/cru_rk3328.h>
|
||||
#include <asm/arch-rockchip/hardware.h>
|
||||
#include <asm/arch-rockchip/grf_rk3328.h>
|
||||
#include <asm/io.h>
|
||||
#include <dm/lists.h>
|
||||
#include <dt-bindings/clock/rk3328-cru.h>
|
||||
|
@ -13,9 +13,9 @@
|
||||
#include <mapmem.h>
|
||||
#include <syscon.h>
|
||||
#include <bitfield.h>
|
||||
#include <asm/arch/clock.h>
|
||||
#include <asm/arch/cru_rk3368.h>
|
||||
#include <asm/arch/hardware.h>
|
||||
#include <asm/arch-rockchip/clock.h>
|
||||
#include <asm/arch-rockchip/cru_rk3368.h>
|
||||
#include <asm/arch-rockchip/hardware.h>
|
||||
#include <asm/io.h>
|
||||
#include <dm/lists.h>
|
||||
#include <dt-bindings/clock/rk3368-cru.h>
|
||||
|
@ -13,9 +13,9 @@
|
||||
#include <syscon.h>
|
||||
#include <bitfield.h>
|
||||
#include <asm/io.h>
|
||||
#include <asm/arch/clock.h>
|
||||
#include <asm/arch/cru_rk3399.h>
|
||||
#include <asm/arch/hardware.h>
|
||||
#include <asm/arch-rockchip/clock.h>
|
||||
#include <asm/arch-rockchip/cru_rk3399.h>
|
||||
#include <asm/arch-rockchip/hardware.h>
|
||||
#include <dm/lists.h>
|
||||
#include <dt-bindings/clock/rk3399-cru.h>
|
||||
|
||||
|
@ -11,9 +11,9 @@
|
||||
#include <errno.h>
|
||||
#include <syscon.h>
|
||||
#include <asm/io.h>
|
||||
#include <asm/arch/clock.h>
|
||||
#include <asm/arch/cru_rv1108.h>
|
||||
#include <asm/arch/hardware.h>
|
||||
#include <asm/arch-rockchip/clock.h>
|
||||
#include <asm/arch-rockchip/cru_rv1108.h>
|
||||
#include <asm/arch-rockchip/hardware.h>
|
||||
#include <dm/lists.h>
|
||||
#include <dt-bindings/clock/rv1108-cru.h>
|
||||
|
||||
|
@ -12,7 +12,8 @@
|
||||
#include <linux/errno.h>
|
||||
#include <asm/gpio.h>
|
||||
#include <asm/io.h>
|
||||
#include <asm/arch/clock.h>
|
||||
#include <asm/arch-rockchip/clock.h>
|
||||
#include <asm/arch-rockchip/gpio.h>
|
||||
#include <dm/pinctrl.h>
|
||||
#include <dt-bindings/clock/rk3288-cru.h>
|
||||
|
||||
|
@ -12,9 +12,9 @@
|
||||
#include <errno.h>
|
||||
#include <i2c.h>
|
||||
#include <asm/io.h>
|
||||
#include <asm/arch/clock.h>
|
||||
#include <asm/arch/i2c.h>
|
||||
#include <asm/arch/periph.h>
|
||||
#include <asm/arch-rockchip/clock.h>
|
||||
#include <asm/arch-rockchip/i2c.h>
|
||||
#include <asm/arch-rockchip/periph.h>
|
||||
#include <dm/pinctrl.h>
|
||||
#include <linux/sizes.h>
|
||||
|
||||
|
@ -13,8 +13,8 @@
|
||||
#include <pwrseq.h>
|
||||
#include <syscon.h>
|
||||
#include <asm/gpio.h>
|
||||
#include <asm/arch/clock.h>
|
||||
#include <asm/arch/periph.h>
|
||||
#include <asm/arch-rockchip/clock.h>
|
||||
#include <asm/arch-rockchip/periph.h>
|
||||
#include <linux/err.h>
|
||||
|
||||
struct rockchip_mmc_plat {
|
||||
|
@ -11,15 +11,15 @@
|
||||
#include <phy.h>
|
||||
#include <syscon.h>
|
||||
#include <asm/io.h>
|
||||
#include <asm/arch/periph.h>
|
||||
#include <asm/arch/clock.h>
|
||||
#include <asm/arch/hardware.h>
|
||||
#include <asm/arch/grf_rk322x.h>
|
||||
#include <asm/arch/grf_rk3288.h>
|
||||
#include <asm/arch/grf_rk3328.h>
|
||||
#include <asm/arch/grf_rk3368.h>
|
||||
#include <asm/arch/grf_rk3399.h>
|
||||
#include <asm/arch/grf_rv1108.h>
|
||||
#include <asm/arch-rockchip/periph.h>
|
||||
#include <asm/arch-rockchip/clock.h>
|
||||
#include <asm/arch-rockchip/hardware.h>
|
||||
#include <asm/arch-rockchip/grf_rk322x.h>
|
||||
#include <asm/arch-rockchip/grf_rk3288.h>
|
||||
#include <asm/arch-rockchip/grf_rk3328.h>
|
||||
#include <asm/arch-rockchip/grf_rk3368.h>
|
||||
#include <asm/arch-rockchip/grf_rk3399.h>
|
||||
#include <asm/arch-rockchip/grf_rv1108.h>
|
||||
#include <dm/pinctrl.h>
|
||||
#include <dt-bindings/clock/rk3288-cru.h>
|
||||
#include "designware.h"
|
||||
|
@ -12,7 +12,7 @@
|
||||
#include <regmap.h>
|
||||
#include <syscon.h>
|
||||
#include <asm/io.h>
|
||||
#include <asm/arch/pwm.h>
|
||||
#include <asm/arch-rockchip/pwm.h>
|
||||
#include <power/regulator.h>
|
||||
|
||||
struct rk_pwm_priv {
|
||||
|
@ -12,12 +12,12 @@
|
||||
#include <regmap.h>
|
||||
#include <syscon.h>
|
||||
#include <asm/io.h>
|
||||
#include <asm/arch/clock.h>
|
||||
#include <asm/arch/cru_rk3368.h>
|
||||
#include <asm/arch/grf_rk3368.h>
|
||||
#include <asm/arch/ddr_rk3368.h>
|
||||
#include <asm/arch/sdram.h>
|
||||
#include <asm/arch/sdram_common.h>
|
||||
#include <asm/arch-rockchip/clock.h>
|
||||
#include <asm/arch-rockchip/cru_rk3368.h>
|
||||
#include <asm/arch-rockchip/grf_rk3368.h>
|
||||
#include <asm/arch-rockchip/ddr_rk3368.h>
|
||||
#include <asm/arch-rockchip/sdram.h>
|
||||
#include <asm/arch-rockchip/sdram_common.h>
|
||||
|
||||
struct dram_info {
|
||||
struct ram_info info;
|
||||
|
@ -7,9 +7,9 @@
|
||||
#include <dm.h>
|
||||
#include <ram.h>
|
||||
#include <syscon.h>
|
||||
#include <asm/arch/clock.h>
|
||||
#include <asm/arch/grf_rk3128.h>
|
||||
#include <asm/arch/sdram_common.h>
|
||||
#include <asm/arch-rockchip/clock.h>
|
||||
#include <asm/arch-rockchip/grf_rk3128.h>
|
||||
#include <asm/arch-rockchip/sdram_common.h>
|
||||
|
||||
struct dram_info {
|
||||
struct ram_info info;
|
||||
|
@ -15,13 +15,13 @@
|
||||
#include <regmap.h>
|
||||
#include <syscon.h>
|
||||
#include <asm/io.h>
|
||||
#include <asm/arch/clock.h>
|
||||
#include <asm/arch/cru_rk3188.h>
|
||||
#include <asm/arch/ddr_rk3188.h>
|
||||
#include <asm/arch/grf_rk3188.h>
|
||||
#include <asm/arch/pmu_rk3188.h>
|
||||
#include <asm/arch/sdram.h>
|
||||
#include <asm/arch/sdram_common.h>
|
||||
#include <asm/arch-rockchip/clock.h>
|
||||
#include <asm/arch-rockchip/cru_rk3188.h>
|
||||
#include <asm/arch-rockchip/ddr_rk3188.h>
|
||||
#include <asm/arch-rockchip/grf_rk3188.h>
|
||||
#include <asm/arch-rockchip/pmu_rk3188.h>
|
||||
#include <asm/arch-rockchip/sdram.h>
|
||||
#include <asm/arch-rockchip/sdram_common.h>
|
||||
#include <linux/err.h>
|
||||
|
||||
struct chan_info {
|
||||
|
@ -11,14 +11,14 @@
|
||||
#include <regmap.h>
|
||||
#include <syscon.h>
|
||||
#include <asm/io.h>
|
||||
#include <asm/arch/clock.h>
|
||||
#include <asm/arch/cru_rk322x.h>
|
||||
#include <asm/arch/grf_rk322x.h>
|
||||
#include <asm/arch/hardware.h>
|
||||
#include <asm/arch/sdram_rk322x.h>
|
||||
#include <asm/arch/timer.h>
|
||||
#include <asm/arch/uart.h>
|
||||
#include <asm/arch/sdram_common.h>
|
||||
#include <asm/arch-rockchip/clock.h>
|
||||
#include <asm/arch-rockchip/cru_rk322x.h>
|
||||
#include <asm/arch-rockchip/grf_rk322x.h>
|
||||
#include <asm/arch-rockchip/hardware.h>
|
||||
#include <asm/arch-rockchip/sdram_rk322x.h>
|
||||
#include <asm/arch-rockchip/timer.h>
|
||||
#include <asm/arch-rockchip/uart.h>
|
||||
#include <asm/arch-rockchip/sdram_common.h>
|
||||
#include <asm/types.h>
|
||||
#include <linux/err.h>
|
||||
|
||||
|
@ -15,13 +15,13 @@
|
||||
#include <regmap.h>
|
||||
#include <syscon.h>
|
||||
#include <asm/io.h>
|
||||
#include <asm/arch/clock.h>
|
||||
#include <asm/arch/cru_rk3288.h>
|
||||
#include <asm/arch/ddr_rk3288.h>
|
||||
#include <asm/arch/grf_rk3288.h>
|
||||
#include <asm/arch/pmu_rk3288.h>
|
||||
#include <asm/arch/sdram.h>
|
||||
#include <asm/arch/sdram_common.h>
|
||||
#include <asm/arch-rockchip/clock.h>
|
||||
#include <asm/arch-rockchip/cru_rk3288.h>
|
||||
#include <asm/arch-rockchip/ddr_rk3288.h>
|
||||
#include <asm/arch-rockchip/grf_rk3288.h>
|
||||
#include <asm/arch-rockchip/pmu_rk3288.h>
|
||||
#include <asm/arch-rockchip/sdram.h>
|
||||
#include <asm/arch-rockchip/sdram_common.h>
|
||||
#include <linux/err.h>
|
||||
#include <power/regulator.h>
|
||||
#include <power/rk8xx_pmic.h>
|
||||
|
@ -7,9 +7,9 @@
|
||||
#include <dm.h>
|
||||
#include <ram.h>
|
||||
#include <syscon.h>
|
||||
#include <asm/arch/clock.h>
|
||||
#include <asm/arch/grf_rk3328.h>
|
||||
#include <asm/arch/sdram_common.h>
|
||||
#include <asm/arch-rockchip/clock.h>
|
||||
#include <asm/arch-rockchip/grf_rk3328.h>
|
||||
#include <asm/arch-rockchip/sdram_common.h>
|
||||
|
||||
struct dram_info {
|
||||
struct ram_info info;
|
||||
|
@ -13,12 +13,12 @@
|
||||
#include <regmap.h>
|
||||
#include <syscon.h>
|
||||
#include <asm/io.h>
|
||||
#include <asm/arch/clock.h>
|
||||
#include <asm/arch/sdram_common.h>
|
||||
#include <asm/arch/sdram_rk3399.h>
|
||||
#include <asm/arch/cru_rk3399.h>
|
||||
#include <asm/arch/grf_rk3399.h>
|
||||
#include <asm/arch/hardware.h>
|
||||
#include <asm/arch-rockchip/clock.h>
|
||||
#include <asm/arch-rockchip/sdram_common.h>
|
||||
#include <asm/arch-rockchip/sdram_rk3399.h>
|
||||
#include <asm/arch-rockchip/cru_rk3399.h>
|
||||
#include <asm/arch-rockchip/grf_rk3399.h>
|
||||
#include <asm/arch-rockchip/hardware.h>
|
||||
#include <linux/err.h>
|
||||
#include <time.h>
|
||||
|
||||
|
@ -7,7 +7,7 @@
|
||||
#include <dm.h>
|
||||
#include <reset-uclass.h>
|
||||
#include <linux/io.h>
|
||||
#include <asm/arch/hardware.h>
|
||||
#include <asm/arch-rockchip/hardware.h>
|
||||
#include <dm/lists.h>
|
||||
/*
|
||||
* Each reg has 16 bits reset signal for devices
|
||||
|
@ -9,7 +9,7 @@
|
||||
#include <dt-structs.h>
|
||||
#include <ns16550.h>
|
||||
#include <serial.h>
|
||||
#include <asm/arch/clock.h>
|
||||
#include <asm/arch-rockchip/clock.h>
|
||||
|
||||
#if defined(CONFIG_ROCKCHIP_RK3188)
|
||||
struct rockchip_uart_platdata {
|
||||
|
@ -13,7 +13,7 @@
|
||||
#include <i2s.h>
|
||||
#include <misc.h>
|
||||
#include <sound.h>
|
||||
#include <asm/arch/periph.h>
|
||||
#include <asm/arch-rockchip/periph.h>
|
||||
#include <dm/pinctrl.h>
|
||||
|
||||
static int rockchip_sound_setup(struct udevice *dev)
|
||||
|
@ -18,8 +18,8 @@
|
||||
#include <spi.h>
|
||||
#include <linux/errno.h>
|
||||
#include <asm/io.h>
|
||||
#include <asm/arch/clock.h>
|
||||
#include <asm/arch/periph.h>
|
||||
#include <asm/arch-rockchip/clock.h>
|
||||
#include <asm/arch-rockchip/periph.h>
|
||||
#include <dm/pinctrl.h>
|
||||
#include "rk_spi.h"
|
||||
|
||||
|
@ -8,9 +8,9 @@
|
||||
#include <errno.h>
|
||||
#include <sysreset.h>
|
||||
#include <asm/io.h>
|
||||
#include <asm/arch/clock.h>
|
||||
#include <asm/arch/cru_rk3328.h>
|
||||
#include <asm/arch/hardware.h>
|
||||
#include <asm/arch-rockchip/clock.h>
|
||||
#include <asm/arch-rockchip/cru_rk3328.h>
|
||||
#include <asm/arch-rockchip/hardware.h>
|
||||
#include <linux/err.h>
|
||||
|
||||
int rockchip_sysreset_request(struct udevice *dev, enum sysreset_t type)
|
||||
|
@ -7,7 +7,7 @@
|
||||
#include <dm.h>
|
||||
#include <dm/ofnode.h>
|
||||
#include <mapmem.h>
|
||||
#include <asm/arch/timer.h>
|
||||
#include <asm/arch-rockchip/timer.h>
|
||||
#include <dt-structs.h>
|
||||
#include <timer.h>
|
||||
#include <asm/io.h>
|
||||
|
@ -15,7 +15,7 @@
|
||||
#include <linux/compiler.h>
|
||||
#include <version.h>
|
||||
#include <g_dnl.h>
|
||||
#include <asm/arch/f_rockusb.h>
|
||||
#include <asm/arch-rockchip/f_rockusb.h>
|
||||
|
||||
static inline struct f_rockusb *func_to_rockusb(struct usb_function *f)
|
||||
{
|
||||
|
@ -13,9 +13,9 @@
|
||||
#include <syscon.h>
|
||||
#include <asm/gpio.h>
|
||||
#include <asm/io.h>
|
||||
#include <asm/arch/clock.h>
|
||||
#include <asm/arch/hardware.h>
|
||||
#include <asm/arch/grf_rk3288.h>
|
||||
#include <asm/arch-rockchip/clock.h>
|
||||
#include <asm/arch-rockchip/hardware.h>
|
||||
#include <asm/arch-rockchip/grf_rk3288.h>
|
||||
#include <power/regulator.h>
|
||||
#include "rk_hdmi.h"
|
||||
|
||||
|
@ -14,14 +14,14 @@
|
||||
#include "rk_mipi.h"
|
||||
#include <syscon.h>
|
||||
#include <asm/gpio.h>
|
||||
#include <asm/hardware.h>
|
||||
#include <asm/io.h>
|
||||
#include <dm/uclass-internal.h>
|
||||
#include <linux/kernel.h>
|
||||
#include <asm/arch/clock.h>
|
||||
#include <asm/arch/cru_rk3288.h>
|
||||
#include <asm/arch/grf_rk3288.h>
|
||||
#include <asm/arch/rockchip_mipi_dsi.h>
|
||||
#include <asm/arch-rockchip/clock.h>
|
||||
#include <asm/arch-rockchip/cru_rk3288.h>
|
||||
#include <asm/arch-rockchip/grf_rk3288.h>
|
||||
#include <asm/arch-rockchip/hardware.h>
|
||||
#include <asm/arch-rockchip/rockchip_mipi_dsi.h>
|
||||
|
||||
#define MHz 1000000
|
||||
|
||||
|
@ -11,10 +11,10 @@
|
||||
#include <regmap.h>
|
||||
#include <syscon.h>
|
||||
#include <video.h>
|
||||
#include <asm/hardware.h>
|
||||
#include <asm/io.h>
|
||||
#include <asm/arch/clock.h>
|
||||
#include <asm/arch/grf_rk3288.h>
|
||||
#include <asm/arch-rockchip/clock.h>
|
||||
#include <asm/arch-rockchip/grf_rk3288.h>
|
||||
#include <asm/arch-rockchip/hardware.h>
|
||||
#include "rk_vop.h"
|
||||
|
||||
DECLARE_GLOBAL_DATA_PTR;
|
||||
|
@ -13,9 +13,9 @@
|
||||
#include <syscon.h>
|
||||
#include <asm/gpio.h>
|
||||
#include <asm/io.h>
|
||||
#include <asm/arch/clock.h>
|
||||
#include <asm/arch/hardware.h>
|
||||
#include <asm/arch/grf_rk3399.h>
|
||||
#include <asm/arch-rockchip/clock.h>
|
||||
#include <asm/arch-rockchip/hardware.h>
|
||||
#include <asm/arch-rockchip/grf_rk3399.h>
|
||||
#include <power/regulator.h>
|
||||
#include "rk_hdmi.h"
|
||||
|
||||
|
@ -14,14 +14,14 @@
|
||||
#include "rk_mipi.h"
|
||||
#include <syscon.h>
|
||||
#include <asm/gpio.h>
|
||||
#include <asm/hardware.h>
|
||||
#include <asm/io.h>
|
||||
#include <dm/uclass-internal.h>
|
||||
#include <linux/kernel.h>
|
||||
#include <asm/arch/clock.h>
|
||||
#include <asm/arch/cru_rk3399.h>
|
||||
#include <asm/arch/grf_rk3399.h>
|
||||
#include <asm/arch/rockchip_mipi_dsi.h>
|
||||
#include <asm/arch-rockchip/clock.h>
|
||||
#include <asm/arch-rockchip/cru_rk3399.h>
|
||||
#include <asm/arch-rockchip/grf_rk3399.h>
|
||||
#include <asm/arch-rockchip/hardware.h>
|
||||
#include <asm/arch-rockchip/rockchip_mipi_dsi.h>
|
||||
|
||||
/* Select mipi dsi source, big or little vop */
|
||||
static int rk_mipi_dsi_source_select(struct udevice *dev)
|
||||
|
@ -10,7 +10,7 @@
|
||||
#include <dm.h>
|
||||
#include <regmap.h>
|
||||
#include <video.h>
|
||||
#include <asm/hardware.h>
|
||||
#include <asm/arch-rockchip/hardware.h>
|
||||
#include <asm/io.h>
|
||||
#include "rk_vop.h"
|
||||
|
||||
|
@ -14,9 +14,9 @@
|
||||
#include <syscon.h>
|
||||
#include <asm/gpio.h>
|
||||
#include <asm/io.h>
|
||||
#include <asm/arch/clock.h>
|
||||
#include <asm/arch/edp_rk3288.h>
|
||||
#include <asm/arch/grf_rk3288.h>
|
||||
#include <asm/arch-rockchip/clock.h>
|
||||
#include <asm/arch-rockchip/edp_rk3288.h>
|
||||
#include <asm/arch-rockchip/grf_rk3288.h>
|
||||
#include <dt-bindings/clock/rk3288-cru.h>
|
||||
|
||||
#define MAX_CR_LOOP 5
|
||||
|
@ -14,10 +14,9 @@
|
||||
#include <regmap.h>
|
||||
#include <syscon.h>
|
||||
#include <asm/gpio.h>
|
||||
#include <asm/hardware.h>
|
||||
#include <asm/io.h>
|
||||
#include <asm/arch/clock.h>
|
||||
#include <asm/arch/hardware.h>
|
||||
#include <asm/arch-rockchip/clock.h>
|
||||
#include <asm/arch-rockchip/hardware.h>
|
||||
#include "rk_hdmi.h"
|
||||
#include "rk_vop.h" /* for rk_vop_probe_regulators */
|
||||
|
||||
|
@ -12,9 +12,9 @@
|
||||
#include <syscon.h>
|
||||
#include <asm/gpio.h>
|
||||
#include <asm/io.h>
|
||||
#include <asm/arch/clock.h>
|
||||
#include <asm/arch/lvds_rk3288.h>
|
||||
#include <asm/arch/grf_rk3288.h>
|
||||
#include <asm/arch-rockchip/clock.h>
|
||||
#include <asm/arch-rockchip/lvds_rk3288.h>
|
||||
#include <asm/arch-rockchip/grf_rk3288.h>
|
||||
#include <dt-bindings/clock/rk3288-cru.h>
|
||||
#include <dt-bindings/video/rk3288.h>
|
||||
|
||||
|
@ -14,14 +14,13 @@
|
||||
#include "rk_mipi.h"
|
||||
#include <syscon.h>
|
||||
#include <asm/gpio.h>
|
||||
#include <asm/hardware.h>
|
||||
#include <asm/io.h>
|
||||
#include <dm/uclass-internal.h>
|
||||
#include <linux/kernel.h>
|
||||
#include <asm/arch/clock.h>
|
||||
#include <asm/arch/cru_rk3399.h>
|
||||
#include <asm/arch/grf_rk3399.h>
|
||||
#include <asm/arch/rockchip_mipi_dsi.h>
|
||||
#include <asm/arch-rockchip/clock.h>
|
||||
#include <asm/arch-rockchip/cru_rk3399.h>
|
||||
#include <asm/arch-rockchip/grf_rk3399.h>
|
||||
#include <asm/arch-rockchip/rockchip_mipi_dsi.h>
|
||||
|
||||
DECLARE_GLOBAL_DATA_PTR;
|
||||
|
||||
|
@ -13,11 +13,10 @@
|
||||
#include <syscon.h>
|
||||
#include <video.h>
|
||||
#include <asm/gpio.h>
|
||||
#include <asm/hardware.h>
|
||||
#include <asm/io.h>
|
||||
#include <asm/arch/clock.h>
|
||||
#include <asm/arch/edp_rk3288.h>
|
||||
#include <asm/arch/vop_rk3288.h>
|
||||
#include <asm/arch-rockchip/clock.h>
|
||||
#include <asm/arch-rockchip/edp_rk3288.h>
|
||||
#include <asm/arch-rockchip/vop_rk3288.h>
|
||||
#include <dm/device-internal.h>
|
||||
#include <dm/uclass-internal.h>
|
||||
#include <power/regulator.h>
|
||||
|
@ -6,7 +6,7 @@
|
||||
#ifndef __RK_VOP_H__
|
||||
#define __RK_VOP_H__
|
||||
|
||||
#include <asm/arch/vop_rk3288.h>
|
||||
#include <asm/arch-rockchip/vop_rk3288.h>
|
||||
|
||||
struct rk_vop_priv {
|
||||
void *grf;
|
||||
|
@ -5,7 +5,7 @@
|
||||
#ifndef __CONFIG_RK3036_COMMON_H
|
||||
#define __CONFIG_RK3036_COMMON_H
|
||||
|
||||
#include <asm/arch/hardware.h>
|
||||
#include <asm/arch-rockchip/hardware.h>
|
||||
#include "rockchip-common.h"
|
||||
|
||||
#define CONFIG_SYS_MALLOC_LEN (32 << 20)
|
||||
|
@ -8,7 +8,7 @@
|
||||
|
||||
#define CONFIG_SYS_CACHELINE_SIZE 64
|
||||
|
||||
#include <asm/arch/hardware.h>
|
||||
#include <asm/arch-rockchip/hardware.h>
|
||||
#include "rockchip-common.h"
|
||||
|
||||
#define CONFIG_SKIP_LOWLEVEL_INIT_ONLY
|
||||
|
@ -5,7 +5,7 @@
|
||||
#ifndef __CONFIG_RK322X_COMMON_H
|
||||
#define __CONFIG_RK322X_COMMON_H
|
||||
|
||||
#include <asm/arch/hardware.h>
|
||||
#include <asm/arch-rockchip/hardware.h>
|
||||
#include "rockchip-common.h"
|
||||
|
||||
#define CONFIG_SKIP_LOWLEVEL_INIT
|
||||
|
@ -6,7 +6,7 @@
|
||||
#ifndef __CONFIG_RK3288_COMMON_H
|
||||
#define __CONFIG_RK3288_COMMON_H
|
||||
|
||||
#include <asm/arch/hardware.h>
|
||||
#include <asm/arch-rockchip/hardware.h>
|
||||
#include "rockchip-common.h"
|
||||
|
||||
#define CONFIG_SKIP_LOWLEVEL_INIT_ONLY
|
||||
|
@ -10,7 +10,7 @@
|
||||
|
||||
#define CONFIG_SYS_CACHELINE_SIZE 64
|
||||
|
||||
#include <asm/arch/hardware.h>
|
||||
#include <asm/arch-rockchip/hardware.h>
|
||||
#include <linux/sizes.h>
|
||||
|
||||
#define CONFIG_SYS_SDRAM_BASE 0
|
||||
|
@ -5,7 +5,7 @@
|
||||
#ifndef __CONFIG_RV1108_COMMON_H
|
||||
#define __CONFIG_RV1108_COMMON_H
|
||||
|
||||
#include <asm/arch/hardware.h>
|
||||
#include <asm/arch-rockchip/hardware.h>
|
||||
#include "rockchip-common.h"
|
||||
|
||||
#define CONFIG_SYS_MALLOC_LEN (32 << 20)
|
||||
|
Loading…
Reference in New Issue
Block a user