rockchip: rk3368: Migrate to use common board file

Use common board file for board_init() and board_late_init(),
for Rockchip SoCs have very similar process.

Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
This commit is contained in:
Kever Yang 2019-07-22 20:02:17 +08:00
parent 38ed26777f
commit edaf8db866
5 changed files with 1 additions and 44 deletions

View file

@ -131,6 +131,7 @@ config ROCKCHIP_RK3368
select SUPPORT_TPL select SUPPORT_TPL
select TPL_NEEDS_SEPARATE_TEXT_BASE if SPL select TPL_NEEDS_SEPARATE_TEXT_BASE if SPL
select TPL_NEEDS_SEPARATE_STACK if TPL select TPL_NEEDS_SEPARATE_STACK if TPL
imply ROCKCHIP_COMMON_BOARD
imply SPL_ROCKCHIP_COMMON_BOARD imply SPL_ROCKCHIP_COMMON_BOARD
imply SPL_SEPARATE_BSS imply SPL_SEPARATE_BSS
imply SPL_SERIAL_SUPPORT imply SPL_SERIAL_SUPPORT

View file

@ -4,8 +4,3 @@
*/ */
#include <common.h> #include <common.h>
int board_init(void)
{
return 0;
}

View file

@ -2,9 +2,3 @@
/* /*
* Copyright (c) 2017 Andy Yan * Copyright (c) 2017 Andy Yan
*/ */
#include <common.h>
int board_init(void)
{
return 0;
}

View file

@ -2,18 +2,3 @@
/* /*
* Copyright (c) 2017 Andy Yan * Copyright (c) 2017 Andy Yan
*/ */
#include <common.h>
#include <asm/io.h>
#include <asm/arch-rockchip/clock.h>
#include <asm/arch-rockchip/grf_rk3368.h>
#include <syscon.h>
int mach_cpu_init(void)
{
return 0;
}
int board_init(void)
{
return 0;
}

View file

@ -2,21 +2,3 @@
/* /*
* Copyright (c) 2017 Theobroma Systems Design und Consulting GmbH * Copyright (c) 2017 Theobroma Systems Design und Consulting GmbH
*/ */
#include <common.h>
#include <dm.h>
#include <ram.h>
#include <asm/io.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)
{
return 0;
}
int board_init(void)
{
return 0;
}