]> git.baikalelectronics.ru Git - uboot.git/commit
spl: separate SPL_FRAMEWORK config for spl and tpl
authorHeiko Stuebner <heiko.stuebner@theobroma-systems.com>
Tue, 16 Jul 2019 08:12:02 +0000 (10:12 +0200)
committerKever Yang <kever.yang@rock-chips.com>
Sun, 17 Nov 2019 09:22:53 +0000 (17:22 +0800)
commitd9c664ace68843ae38ba6b43581d1d87592bcdda
tree6800fb8b1a2393dea8d3fdf605c04f243c8bcb94
parent54fef280696886e7d2e838141d90abac6e22d731
spl: separate SPL_FRAMEWORK config for spl and tpl

Right now enabling SPL_FRAMEWORK will also enable it for the TPL in all
cases, making the TPL bigger. There may be cases where the TPL is really
size constrained due to its underlying ram size.

Therefore introduce a new TPL_FRAMEWORK option and make the relevant
conditionals check for both. The default is set to "y if SPL_FRAMEWORK"
to mimic the previous behaviour where the TPL would always get the
SPL framework if it was enabled in SPL.

Signed-off-by: Heiko Stuebner <heiko.stuebner@theobroma-systems.com>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
arch/arm/lib/Makefile
arch/arm/lib/crt0.S
arch/arm/lib/crt0_64.S
arch/powerpc/lib/Makefile
common/spl/Kconfig
common/spl/Makefile
scripts/Makefile.spl