[U-Boot] [U-Boot, 36/36] rockchip: add common board file for rockchip platform
Philipp Tomsich
philipp.tomsich at theobroma-systems.com
Sun Apr 1 20:21:59 UTC 2018
> We use common board/spl/tpl file for all rockchip SoCs,
> - all the SoC spec setting should move into SoC file like rk3288.c;
> - tpl is option and only purpose to init DRAM, clock, uart(option);
> - spl do secure relate one time init, boot device select, boot into
> U-Boot or trust or OS in falcon mode;
> - board do boot mode detect, enable regulator, usb init and so on.
>
> Signed-off-by: Kever Yang <kever.yang at rock-chips.com>
> ---
>
> arch/arm/mach-rockchip/Makefile | 23 +----
> arch/arm/mach-rockchip/board.c | 136 ++++++++++++++++++++++++++++
> arch/arm/mach-rockchip/spl.c | 195 ++++++++++++++++++++++++++++++++++++++++
> arch/arm/mach-rockchip/tpl.c | 111 +++++++++++++++++++++++
> 4 files changed, 445 insertions(+), 20 deletions(-)
> create mode 100644 arch/arm/mach-rockchip/board.c
> create mode 100644 arch/arm/mach-rockchip/spl.c
> create mode 100644 arch/arm/mach-rockchip/tpl.c
>
Acked-by: Philipp Tomsich <philipp.tomsich at theobroma-systems.com>
More information about the U-Boot
mailing list