[U-Boot] [U-Boot, v4, 53/66] rockchip: rk3368: spl: add TPL support

Philipp Tomsich philipp.tomsich at theobroma-systems.com
Sun Aug 6 17:18:23 UTC 2017


> This adds the TPL support for the RK3368, including the u-boot-tpl.lds.
> 
> Signed-off-by: Philipp Tomsich <philipp.tomsich at theobroma-systems.com>
> Reviewed-by: Simon Glass <sjg at chromium.org>
> ---
> 
> Changes in v4: None
> Changes in v3:
> - removes the '#define DEBUG'
> - uses the syscon API to access GRF and SGRF to avoid using hard-coded
>   addresses
> 
> Changes in v2:
> - copies the enum for the IOMUX config of the debug UART into the TPL
>   support code, as the various constants are otherwise private to the
>   pinctrl code (and we can't include pinctrl in the TPL stage due to
>   size constraints/dependencies)
> 
>  arch/arm/mach-rockchip/Makefile              |   1 +
>  arch/arm/mach-rockchip/rk3368-board-tpl.c    | 177 +++++++++++++++++++++++++++
>  arch/arm/mach-rockchip/rk3368/u-boot-tpl.lds |  13 ++
>  3 files changed, 191 insertions(+)
>  create mode 100644 arch/arm/mach-rockchip/rk3368-board-tpl.c
>  create mode 100644 arch/arm/mach-rockchip/rk3368/u-boot-tpl.lds
> 

Applied to u-boot-rockchip, thanks!


More information about the U-Boot mailing list