[U-Boot] [U-Boot, v5, 16/18] rockchip: back-to-bootrom: allow passing a cmd to the bootrom

Philipp Tomsich philipp.tomsich at theobroma-systems.com
Tue Nov 7 14:18:49 UTC 2017


> The BROM supports forcing it to enter download-mode, if an appropriate
> result/cmd-word is returned to it.  There already is a series to
> support this in review, so this prepares the (newly C-version) of the
> back-to-bootrom code to accept a cmd to passed on to the BROM.
> 
> All the existing call-sites are adjusted to match the changed function
> signature.
> 
> Signed-off-by: Philipp Tomsich <philipp.tomsich at theobroma-systems.com>
> Tested-by: Andy Yan <andy.yan at rock-chips.com>
> ---
> 
> Changes in v5: None
> Changes in v4:
> - no longer updates rk3188-board-tpl.c (as we have just removed it
>   in an earlier commit)
> 
> Changes in v3: None
> Changes in v2:
> - also covers the RK3188 (which I had originally missed)
> 
>  arch/arm/include/asm/arch-rockchip/bootrom.h | 5 ++++-
>  arch/arm/mach-rockchip/bootrom.c             | 4 ++--
>  arch/arm/mach-rockchip/rk3036-board-spl.c    | 2 +-
>  arch/arm/mach-rockchip/rk3188-board-spl.c    | 4 ++--
>  arch/arm/mach-rockchip/rk322x-board-spl.c    | 2 +-
>  arch/arm/mach-rockchip/rk3288-board-spl.c    | 4 ++--
>  arch/arm/mach-rockchip/rk3288-board-tpl.c    | 2 +-
>  arch/arm/mach-rockchip/rk3368-board-tpl.c    | 2 +-
>  arch/arm/mach-rockchip/rk3399-board-spl.c    | 2 +-
>  9 files changed, 15 insertions(+), 12 deletions(-)
> 

Applied to u-boot-rockchip/next, thanks!


More information about the U-Boot mailing list