[U-Boot] [PATCH v3 53/66] rockchip: rk3368: spl: add TPL support

Simon Glass sjg at chromium.org
Tue Aug 1 09:48:45 UTC 2017


On 28 July 2017 at 13:22, Philipp Tomsich
<philipp.tomsich at theobroma-systems.com> wrote:
> 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>
>
> ---
>
> 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

Reviewed-by: Simon Glass <sjg at chromium.org>

We still have the timer address, but it looks like you are trying to
drop that in the other series.


More information about the U-Boot mailing list