提交 edaf8db8 编写于 作者: K Kever Yang

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: NKever Yang <kever.yang@rock-chips.com>
上级 38ed2677
......@@ -131,6 +131,7 @@ config ROCKCHIP_RK3368
select SUPPORT_TPL
select TPL_NEEDS_SEPARATE_TEXT_BASE if SPL
select TPL_NEEDS_SEPARATE_STACK if TPL
imply ROCKCHIP_COMMON_BOARD
imply SPL_ROCKCHIP_COMMON_BOARD
imply SPL_SEPARATE_BSS
imply SPL_SERIAL_SUPPORT
......
......@@ -4,8 +4,3 @@
*/
#include <common.h>
int board_init(void)
{
return 0;
}
......@@ -2,9 +2,3 @@
/*
* Copyright (c) 2017 Andy Yan
*/
#include <common.h>
int board_init(void)
{
return 0;
}
......@@ -2,18 +2,3 @@
/*
* 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;
}
......@@ -2,21 +2,3 @@
/*
* 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;
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册