[U-Boot] [PATCH v2 04/56] rockchip: back-to-bootrom: split BACK_TO_BOOTROM for TPL/SPL

Simon Glass sjg at chromium.org
Fri Jul 28 03:37:12 UTC 2017


On 26 July 2017 at 04:40, Philipp Tomsich
<philipp.tomsich at theobroma-systems.com> wrote:
> 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>
> ---
>
> 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(-)

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


More information about the U-Boot mailing list