Introduce CONFIG_SUPPORT_SPL/TPL
Subsystems (4)
v4 cover Introduce CONFIG_SUPPORT_SPL/TPL
Masahiro Yamada (2):
kconfig: add CONFIG_SUPPORT_SPL
kconfig: add CONFIG_SUPPORT_TPL
Kconfig | 9 ++++++- arch/arm/Kconfig | 46 ++++++++++++++++++++++++++++++++++ arch/arm/cpu/arm926ejs/davinci/Kconfig | 4 +++ arch/arm/cpu/armv7/exynos/Kconfig | 7 ++++++ arch/arm/cpu/armv7/omap3/Kconfig | 16 ++++++++++++ arch/microblaze/Kconfig | 1 + arch/powerpc/cpu/mpc5xxx/Kconfig | 1 + arch/powerpc/cpu/mpc83xx/Kconfig | 1 + arch/powerpc/cpu/mpc85xx/Kconfig | 17 +++++++++++++ arch/powerpc/cpu/ppc4xx/Kconfig | 1 + 10 files changed, 102 insertions(+), 1 deletion(-)
Signature · 1 line
1.9.1
PATCH v4 1/2 kconfig: add CONFIG_SUPPORT_SPL
CONFIG_SPL should not be enabled for boards that do not have SPL. CONFIG_SUPPORT_SPL introduced by this commit should be "select"ed by boards with SPL support and CONFIG_SPL should depend on it.
---
Changes in v4:
- Add "select SUPPORT_SPL" to ARCH_KEYSTONE
Changes in v3:
- Rebase on commit dd0204e48
Changes in v2: None
Kconfig | 4 +++ arch/arm/Kconfig | 46 ++++++++++++++++++++++++++++++++++ arch/arm/cpu/arm926ejs/davinci/Kconfig | 4 +++ arch/arm/cpu/armv7/exynos/Kconfig | 7 ++++++ arch/arm/cpu/armv7/omap3/Kconfig | 16 ++++++++++++ arch/microblaze/Kconfig | 1 + arch/powerpc/cpu/mpc5xxx/Kconfig | 1 + arch/powerpc/cpu/mpc83xx/Kconfig | 1 + arch/powerpc/cpu/mpc85xx/Kconfig | 12 +++++++++ arch/powerpc/cpu/ppc4xx/Kconfig | 1 + 10 files changed, 93 insertions(+)
Kconfig +4 -0
@@ -70,8 +70,12 @@ config TPL_BUILD depends on $KCONFIG_OBJDIR="tpl" default y +config SUPPORT_SPL + bool + config SPL bool + depends on SUPPORT_SPL prompt "Enable SPL" if !SPL_BUILD default y if SPL_BUILD help
arch/arm/Kconfig +46 -0
229 lines not on this page · raw message
arch/arm/cpu/arm926ejs/davinci/Kconfig +4 -0
@@ -8,18 +8,22 @@ config TARGET_ENBW_CMC config TARGET_IPAM390 bool "IPAM390 board" + select SUPPORT_SPL config TARGET_DA830EVM bool "DA830 EVM board" config TARGET_DA850EVM bool "DA850 EVM board" + select SUPPORT_SPL config TARGET_CAM_ENC_4XX bool "CAM ENC 4xx board" + select SUPPORT_SPL config TARGET_HAWKBOARD bool "Hawkboard" + select SUPPORT_SPL config TARGET_DAVINCI_DM355EVM bool "DM355 EVM board"
arch/arm/cpu/armv7/exynos/Kconfig +7 -0
@@ -4,6 +4,7 @@ choice prompt "EXYNOS board select" config TARGET_SMDKV310 + select SUPPORT_SPL bool "Exynos4210 SMDKV310 board" select OF_CONTROL if !SPL_BUILD
@@ -15,6 +16,7 @@ config TARGET_S5PC210_UNIVERSAL config TARGET_ORIGEN bool "Exynos4412 Origen board" + select SUPPORT_SPL config TARGET_TRATS2 bool "Exynos4412 Trat2 board"
@@ -24,22 +26,27 @@ config TARGET_ODROID config TARGET_ARNDALE bool "Exynos5250 Arndale board" + select SUPPORT_SPL select OF_CONTROL if !SPL_BUILD config TARGET_SMDK5250 bool "SMDK5250 board" + select SUPPORT_SPL select OF_CONTROL if !SPL_BUILD config TARGET_SNOW bool "Snow board" + select SUPPORT_SPL select OF_CONTROL if !SPL_BUILD config TARGET_SMDK5420 bool "SMDK5420 board" + select SUPPORT_SPL select OF_CONTROL if !SPL_BUILD config TARGET_PEACH_PIT bool "Peach Pi board" + select SUPPORT_SPL select OF_CONTROL if !SPL_BUILD endchoice
arch/arm/cpu/armv7/omap3/Kconfig +16 -0
@@ -5,57 +5,71 @@ choice config TARGET_AM3517_EVM bool "AM3517 EVM" + select SUPPORT_SPL config TARGET_MT_VENTOUX bool "TeeJet Mt.Ventoux" + select SUPPORT_SPL config TARGET_OMAP3_SDP3430 bool "TI OMAP3430 SDP" config TARGET_OMAP3_BEAGLE bool "TI OMAP3 BeagleBoard" + select SUPPORT_SPL config TARGET_CM_T35 bool "CompuLab CM-T35" + select SUPPORT_SPL config TARGET_DEVKIT8000 bool "TimLL OMAP3 Devkit8000" + select SUPPORT_SPL config TARGET_OMAP3_EVM bool "TI OMAP3 EVM" + select SUPPORT_SPL config TARGET_OMAP3_EVM_QUICK_MMC bool "TI OMAP3 EVM Quick MMC" + select SUPPORT_SPL config TARGET_OMAP3_EVM_QUICK_NAND bool "TI OMAP3 EVM Quick NAND" + select SUPPORT_SPL config TARGET_OMAP3_IGEP00X0 bool "IGEP" + select SUPPORT_SPL config TARGET_OMAP3_OVERO bool "OMAP35xx Gumstix Overo" + select SUPPORT_SPL config TARGET_OMAP3_ZOOM1 bool "TI Zoom1" config TARGET_AM3517_CRANE bool "am3517_crane" + select SUPPORT_SPL config TARGET_OMAP3_PANDORA bool "OMAP3 Pandora" config TARGET_ECO5PK bool "ECO5PK" + select SUPPORT_SPL config TARGET_DIG297 bool "DIG297" config TARGET_TRICORDER bool "Tricorder" + select SUPPORT_SPL config TARGET_MCX bool "MCX" + select SUPPORT_SPL config TARGET_OMAP3_LOGIC bool "OMAP3 Logic"
@@ -68,9 +82,11 @@ config TARGET_NOKIA_RX51 config TARGET_TAO3530 bool "TAO3530" + select SUPPORT_SPL config TARGET_TWISTER bool "Twister" + select SUPPORT_SPL endchoice
arch/microblaze/Kconfig +1 -0
@@ -9,6 +9,7 @@ choice config TARGET_MICROBLAZE_GENERIC bool "Support microblaze-generic" + select SUPPORT_SPL endchoice
arch/powerpc/cpu/mpc5xxx/Kconfig +1 -0
@@ -9,6 +9,7 @@ choice config TARGET_A3M071 bool "Support a3m071" + select SUPPORT_SPL config TARGET_A4M072 bool "Support a4m072"
arch/powerpc/cpu/mpc83xx/Kconfig +1 -0
@@ -24,6 +24,7 @@ config TARGET_MPC8308RDB config TARGET_MPC8313ERDB bool "Support MPC8313ERDB" + select SUPPORT_SPL config TARGET_MPC8315ERDB bool "Support MPC8315ERDB"
arch/powerpc/cpu/mpc85xx/Kconfig +12 -0
@@ -18,15 +18,19 @@ config TARGET_HWW1U1A config TARGET_B4860QDS bool "Support B4860QDS" + select SUPPORT_SPL config TARGET_BSC9131RDB bool "Support BSC9131RDB" + select SUPPORT_SPL config TARGET_BSC9132QDS bool "Support BSC9132QDS" + select SUPPORT_SPL config TARGET_C29XPCIE bool "Support C29XPCIE" + select SUPPORT_SPL config TARGET_P3041DS bool "Support P3041DS"
@@ -72,18 +76,22 @@ config TARGET_MPC8572DS config TARGET_P1010RDB bool "Support P1010RDB" + select SUPPORT_SPL config TARGET_P1022DS bool "Support P1022DS" + select SUPPORT_SPL config TARGET_P1023RDB bool "Support P1023RDB" config TARGET_P1_P2_RDB bool "Support P1_P2_RDB" + select SUPPORT_SPL config TARGET_P1_P2_RDB_PC bool "Support p1_p2_rdb_pc" + select SUPPORT_SPL config TARGET_P1_TWR bool "Support p1_twr"
@@ -105,18 +113,22 @@ config TARGET_T1040QDS config TARGET_T104XRDB bool "Support T104xRDB" + select SUPPORT_SPL config TARGET_T208XQDS bool "Support T208xQDS" + select SUPPORT_SPL config TARGET_T208XRDB bool "Support T208xRDB" + select SUPPORT_SPL config TARGET_T4240EMU bool "Support T4240EMU" config TARGET_T4240QDS bool "Support T4240QDS" + select SUPPORT_SPL config TARGET_T4240RDB bool "Support T4240RDB"
arch/powerpc/cpu/ppc4xx/Kconfig +1 -0
@@ -24,6 +24,7 @@ config TARGET_KORAT config TARGET_LWMON5 bool "Support lwmon5" + select SUPPORT_SPL config TARGET_PCS440EP bool "Support pcs440ep"
Signature · 1 line
1.9.1
PATCH v4 1/2 kconfig: add CONFIG_SUPPORT_SPL
Quoted 6 lines · Masahiro Yamada
CONFIG_SPLshould not be enabled for boards that do not have SPL.CONFIG_SUPPORT_SPLintroduced by this commit should be "select"ed by boards with SPL support andCONFIG_SPLshould depend on it.Signed-off-by Masahiro Yamada <[email protected]>Acked-by Simon Glass <[email protected]>
Applied to u-boot/master, thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: <http://lists.denx.de/pipermail/u-boot/attachments/20141027/cf1a578e/attachment.pgp>
PATCH v4 2/2 kconfig: add CONFIG_SUPPORT_TPL
In reply to Masahiro YamadaCONFIG_TPL should not be enabled for boards that do not have TPL. CONFIG_SUPPORT_TPL introduced by this commit should be "select"ed by boards with TPL support and CONFIG_TPL should depend on it.
---
Changes in v4: None
Changes in v3: None
Changes in v2:
- bug fix. s/HAVE_SPL_SUPPORT/SUPPORT_SPL/
Kconfig | 5 ++++- arch/powerpc/cpu/mpc85xx/Kconfig | 5 +++++ 2 files changed, 9 insertions(+), 1 deletion(-)
Kconfig +4 -1
@@ -73,6 +73,9 @@ config TPL_BUILD config SUPPORT_SPL bool +config SUPPORT_TPL + bool + config SPL bool depends on SUPPORT_SPL
@@ -83,7 +86,7 @@ config SPL config TPL bool - depends on SPL + depends on SPL && SUPPORT_TPL prompt "Enable TPL" if !SPL_BUILD default y if TPL_BUILD default n
arch/powerpc/cpu/mpc85xx/Kconfig +5 -0
@@ -31,6 +31,7 @@ config TARGET_BSC9132QDS config TARGET_C29XPCIE bool "Support C29XPCIE" select SUPPORT_SPL + select SUPPORT_TPL config TARGET_P3041DS bool "Support P3041DS"
@@ -77,10 +78,12 @@ config TARGET_MPC8572DS config TARGET_P1010RDB bool "Support P1010RDB" select SUPPORT_SPL + select SUPPORT_TPL config TARGET_P1022DS bool "Support P1022DS" select SUPPORT_SPL + select SUPPORT_TPL config TARGET_P1023RDB bool "Support P1023RDB"
@@ -88,10 +91,12 @@ config TARGET_P1023RDB config TARGET_P1_P2_RDB bool "Support P1_P2_RDB" select SUPPORT_SPL + select SUPPORT_TPL config TARGET_P1_P2_RDB_PC bool "Support p1_p2_rdb_pc" select SUPPORT_SPL + select SUPPORT_TPL config TARGET_P1_TWR bool "Support p1_twr"
Signature · 1 line
1.9.1
PATCH v4 2/2 kconfig: add CONFIG_SUPPORT_TPL
Quoted 5 lines · Masahiro Yamada
CONFIG_TPLshould not be enabled for boards that do not have TPL.CONFIG_SUPPORT_TPLintroduced by this commit should be "select"ed by boards with TPL support andCONFIG_TPLshould depend on it.Signed-off-by Masahiro Yamada <[email protected]>
Applied to u-boot/master, thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: <http://lists.denx.de/pipermail/u-boot/attachments/20141027/11a2e850/attachment.pgp>