[U-Boot] [PATCH v4 04/66] rockchip: back-to-bootrom: split BACK_TO_BOOTROM for TPL/SPL
Wadim Egorov
w.egorov at phytec.de
Thu Aug 3 07:40:31 UTC 2017
Hi Philipp,
Am 02.08.2017 um 22:33 schrieb Philipp Tomsich:
> 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 +-
there are two more boards using CONFIG_ROCKCHIP_SPL_BACK_TO_BROM option
in their defconfig:
phycore-rk3288_defconfig
evb-rk3229_defconfig
Regards,
Wadim
More information about the U-Boot
mailing list