[U-Boot] [PATCH 0/8] rockchip: enable TPL/SPL for rk3328
Kever Yang
kever.yang at rock-chips.com
Thu Oct 26 07:11:28 UTC 2017
TPL do the ddr sdram init and then return to bootrom;
SPL load trust/ATF and U-Boot from storage and boot into trust.
SDRAM driver is out of this patch set because it suppose to come
after there is a common code for sdram driver, so I send that as
separate RFC patch set.
The link file and the atf script generate file should able to re-use
for all Rockchip armv8 SoCs. Comments are welcome.
Kever Yang (8):
rockchip: rk3328: add tpl board file support
rockchip: rk3328: add spl board file support
rockchip: rk3328: add a link file for tpl
rockchip: rk3328-evb: add script for atf fit
rockchip: dts: rk3328: enable the drivers need by tpl/spl
rockchip: Kconfig: enable TPL/SPL support for rk3328
rockchip: evb-rk3328: enable defconfig options for TPL/SPL
rockchip: rk3328: add config option for TPL/SPL
arch/arm/dts/rk3328-evb.dts | 2 +
arch/arm/dts/rk3328.dtsi | 1 +
arch/arm/mach-rockchip/Kconfig | 14 +++-
arch/arm/mach-rockchip/Makefile | 2 +
arch/arm/mach-rockchip/rk3328-board-spl.c | 64 +++++++++++++++
arch/arm/mach-rockchip/rk3328-board-tpl.c | 114 +++++++++++++++++++++++++++
arch/arm/mach-rockchip/rk3328/u-boot-tpl.lds | 91 +++++++++++++++++++++
board/rockchip/evb_rk3328/mk_fit_atf.sh | 108 +++++++++++++++++++++++++
configs/evb-rk3328_defconfig | 47 ++++++++++-
include/configs/rk3328_common.h | 10 ++-
10 files changed, 448 insertions(+), 5 deletions(-)
create mode 100644 arch/arm/mach-rockchip/rk3328-board-spl.c
create mode 100644 arch/arm/mach-rockchip/rk3328-board-tpl.c
create mode 100644 arch/arm/mach-rockchip/rk3328/u-boot-tpl.lds
create mode 100755 board/rockchip/evb_rk3328/mk_fit_atf.sh
--
1.9.1
More information about the U-Boot
mailing list