]> git.baikalelectronics.ru Git - uboot.git/commit
rockchip: Move bootrom helper compilation to a hidden option
authorHeiko Stübner <heiko@sntech.de>
Sat, 18 Feb 2017 18:46:25 +0000 (19:46 +0100)
committerSimon Glass <sjg@chromium.org>
Thu, 16 Mar 2017 22:03:44 +0000 (16:03 -0600)
commit490e518aebe88339ef370703dc56cac8e5dca110
treea057ed961e8514c66056643b578ee13ada7fd92d
parente120ea1ff5aa8710af606616b958829e3cea3b15
rockchip: Move bootrom helper compilation to a hidden option

Right now the ROCKCHIP_SPL_BACK_TO_BROM option both triggers
compilation of the bootrom hook-code as well as enabling the
behaviour of loading the full U-Boot via the boot.

New added socs may always need the bootrom code, while still
being able to decide between loading U-Boot regularly or via
the bootrom separately.

So move the compilation of the bootrom code to a hidden option
that gets selected by ROCKCHIP_SPL_BACK_TO_BROM, but can also
be selected by other parts.

Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
Tested-by: Kever Yang <kever.yang@rock-chips.com>
arch/arm/mach-rockchip/Kconfig
arch/arm/mach-rockchip/Makefile