diff options
author | Kever Yang <kever.yang@rock-chips.com> | 2019-07-22 20:02:17 +0800 |
---|---|---|
committer | Kever Yang <kever.yang@rock-chips.com> | 2019-07-29 10:27:48 +0800 |
commit | edaf8db86648c0549e70b278421ae7db31e06922 (patch) | |
tree | cfa54adc62ad8ecd98623f337bfb1072bf3843f1 /board/rockchip | |
parent | 38ed26777f256f99dec4f30165cf36676bdaeb07 (diff) | |
download | u-boot-edaf8db86648c0549e70b278421ae7db31e06922.tar.gz |
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>
Diffstat (limited to 'board/rockchip')
-rw-r--r-- | board/rockchip/evb_px5/evb-px5.c | 6 | ||||
-rw-r--r-- | board/rockchip/sheep_rk3368/sheep_rk3368.c | 15 |
2 files changed, 0 insertions, 21 deletions
diff --git a/board/rockchip/evb_px5/evb-px5.c b/board/rockchip/evb_px5/evb-px5.c index 53e753fc17..b81f970883 100644 --- a/board/rockchip/evb_px5/evb-px5.c +++ b/board/rockchip/evb_px5/evb-px5.c @@ -2,9 +2,3 @@ /* * Copyright (c) 2017 Andy Yan */ -#include <common.h> - -int board_init(void) -{ - return 0; -} diff --git a/board/rockchip/sheep_rk3368/sheep_rk3368.c b/board/rockchip/sheep_rk3368/sheep_rk3368.c index 9bb93c7d16..b81f970883 100644 --- a/board/rockchip/sheep_rk3368/sheep_rk3368.c +++ b/board/rockchip/sheep_rk3368/sheep_rk3368.c @@ -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; -} |