[U-Boot] [U-Boot, v4, 04/66] rockchip: back-to-bootrom: split BACK_TO_BOOTROM for TPL/SPL

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


> The back-to-bootrom option is rather unfortunately named
>   CONFIG_ROCKCHIP_SPL_BACK_TO_BOOTROM
> instead of
>   CONFIG_SPL_ROCKCHIP_BACK_TO_BOOTROM
> 
> To make is selectable through CONFIG_IS_ENABLED(ROCKCHIP_BACK_TO_BOOTROM),
> we need to rename it.  At the same time, we introduce a TPL_ variant of
> the option to give us finer-grained control over when it should be used.
> 
> This change is motivated by our RK3368 boot process, which returns to
> the boot ROM only from the TPL stage, but not from the SPL stage.
> 
> Signed-off-by: Philipp Tomsich <philipp.tomsich at theobroma-systems.com>
> 
> Reviewed-by: Simon Glass <sjg at chromium.org>
> Reviewed-by: Tom Rini <trini at konsulko.com>
> ---
> 
> Changes in v4: None
> Changes in v3: None
> Changes in v2: None
> 
>  arch/arm/mach-rockchip/Kconfig            | 15 +++++++++++++--
>  arch/arm/mach-rockchip/rk3188-board-spl.c |  5 ++---
>  arch/arm/mach-rockchip/rk3188-board.c     |  2 +-
>  arch/arm/mach-rockchip/rk3288-board-spl.c |  4 ++--
>  arch/arm/mach-rockchip/rk3288-board.c     |  4 ++--
>  arch/arm/mach-rockchip/rk3399-board-spl.c |  4 ++--
>  configs/evb-rk3288_defconfig              |  2 +-
>  configs/fennec-rk3288_defconfig           |  2 +-
>  configs/firefly-rk3288_defconfig          |  2 +-
>  configs/miqi-rk3288_defconfig             |  2 +-
>  configs/popmetal-rk3288_defconfig         |  2 +-
>  configs/rock2_defconfig                   |  2 +-
>  configs/rock_defconfig                    |  2 +-
>  configs/tinker-rk3288_defconfig           |  2 +-
>  doc/README.rockchip                       |  2 +-
>  include/configs/rk3188_common.h           |  2 +-
>  include/configs/rk3288_common.h           |  2 +-
>  include/configs/rock.h                    |  2 +-
>  include/configs/rockchip-common.h         |  2 +-
>  19 files changed, 35 insertions(+), 25 deletions(-)
> 

Applied to u-boot-rockchip, thanks!


More information about the U-Boot mailing list