From: Wadim Egorov Date: Thu, 3 Aug 2017 09:40:31 +0200 Subject: [U-Boot] [PATCH v4 04/66] rockchip: back-to-bootrom: split BACK_TO_BOOTROM for TPL/SPL In-Reply-To: <1501706105-7490-5-git-send-email-philipp.tomsich@theobroma-systems.com> References: <1501706105-7490-1-git-send-email-philipp.tomsich@theobroma-systems.com> <1501706105-7490-5-git-send-email-philipp.tomsich@theobroma-systems.com> Message-ID: <2f81159f-b2ce-98a7-b8fe-74857e5533ad@phytec.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 > > Reviewed-by: Simon Glass > Reviewed-by: Tom Rini > --- > > 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