All of lore.kernel.org
 help / color / mirror / Atom feed
From: Simon Glass <sjg@chromium.org>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 08/42] Kconfig: tpl: Add some TPL support options to Kconfig
Date: Wed, 24 Aug 2016 10:51:52 -0600	[thread overview]
Message-ID: <1472057546-10360-9-git-send-email-sjg@chromium.org> (raw)
In-Reply-To: <1472057546-10360-1-git-send-email-sjg@chromium.org>

Some of the SPL options have TPL equivalents. Add these to Kconfig so that
we can convert these options over to work from Kconfig.

Signed-off-by: Simon Glass <sjg@chromium.org>
---

 common/spl/Kconfig | 83 ++++++++++++++++++++++++++++++++++++++++++++++++------
 1 file changed, 75 insertions(+), 8 deletions(-)

diff --git a/common/spl/Kconfig b/common/spl/Kconfig
index 0b3c854..69c2482 100644
--- a/common/spl/Kconfig
+++ b/common/spl/Kconfig
@@ -61,13 +61,6 @@ config SPL_SEPARATE_BSS
 	  location is used. Normally we put the device tree at the end of BSS
 	  but with this option enabled, it goes at _image_binary_end.
 
-config TPL
-	bool
-	depends on SPL && SUPPORT_TPL
-	prompt "Enable TPL"
-	help
-	  If you want to build TPL as well as the normal image and SPL, say Y.
-
 config SPL_CRC32_SUPPORT
 	bool "Support CRC32"
 	depends on SPL_FIT
@@ -219,7 +212,7 @@ config SPL_I2C_SUPPORT
 	bool "Support I2C"
 	depends on SPL
 	help
-	  Enable support for the I2C (Inter-Integrated Circuit) bus in U-Boot.
+	  Enable support for the I2C (Inter-Integrated Circuit) bus in SPL.
 	  I2C works with a clock and data line which can be driven by a
 	  one or more masters or slaves. It is a fairly complex bus but is
 	  widely used as it only needs two lines for communication. Speeds of
@@ -474,4 +467,78 @@ config SPL_YMODEM_SUPPORT
 	  means of transmitting U-Boot over a serial line for using in SPL,
 	  with a checksum to ensure correctness.
 
+config TPL
+	bool
+	depends on SPL && SUPPORT_TPL
+	prompt "Enable TPL"
+	help
+	  If you want to build TPL as well as the normal image and SPL, say Y.
+
+config TPL_ENV_SUPPORT
+	bool "Support an environment"
+	depends on TPL
+	help
+	  Enable environment support in TPL. See SPL_ENV_SUPPORT for details.
+
+config TPL_I2C_SUPPORT
+	bool "Support I2C"
+	depends on TPL
+	help
+	  Enable support for the I2C bus in SPL. See SPL_I2C_SUPPORT for
+	  details.
+
+config TPL_LIBCOMMON_SUPPORT
+	bool "Support common libraries"
+	depends on TPL
+	help
+	  Enable support for common U-Boot libraries within TPL. See
+	  SPL_LIBCOMMON_SUPPORT for details.
+
+config TPL_LIBGENERIC_SUPPORT
+	bool "Support generic libraries"
+	depends on TPL
+	help
+	  Enable support for generic U-Boot libraries within TPL. See
+	  SPL_LIBGENERIC_SUPPORT for details.
+
+config TPL_MPC8XXX_INIT_DDR_SUPPORT
+	bool "Support MPC8XXX DDR init"
+	depends on TPL
+	help
+	  Enable support for DDR-SDRAM on the MPC8XXX family within TPL. See
+	  SPL_MPC8XXX_INIT_DDR_SUPPORT for details.
+
+config TPL_MMC_SUPPORT
+	bool "Support MMC"
+	depends on TPL
+	help
+	  Enable support for MMC within TPL. See SPL_MMC_SUPPORT for details.
+
+config TPL_NAND_SUPPORT
+	bool "Support NAND flash"
+	depends on TPL
+	help
+	  Enable support for NAND in SPL. See SPL_NAND_SUPPORT for details.
+
+config TPL_SERIAL_SUPPORT
+	bool "Support serial"
+	depends on TPL
+	help
+	  Enable support for serial in SPL. See SPL_SERIAL_SUPPORT for
+	  details.
+
+config TPL_SPI_FLASH_SUPPORT
+	bool "Support SPI flash drivers"
+	depends on TPL
+	help
+	  Enable support for using SPI flash in SPL. See SPL_SPI_FLASH_SUPPORT
+	  for details.
+
+config TPL_SPI_SUPPORT
+	bool "Support SPI drivers"
+	depends on TPL
+	help
+	  Enable support for using SPI in SPL. See SPL_SPI_SUPPORT for
+	  details.
+
 endmenu
-- 
2.8.0.rc3.226.g39d4020

  parent reply	other threads:[~2016-08-24 16:51 UTC|newest]

Thread overview: 67+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-24 16:51 [U-Boot] [PATCH 00/42] Kconfig: Move CONFIG_SPL_..._SUPPORT to Kconfig Simon Glass
2016-08-24 16:51 ` [U-Boot] [PATCH 01/42] moveconfig: Add an option to skip prompts Simon Glass
2016-08-25  1:45   ` Masahiro Yamada
2016-08-25 12:04     ` Simon Glass
2016-08-24 16:51 ` [U-Boot] [PATCH 02/42] moveconfig: Add an option to commit changes Simon Glass
2016-08-25  1:40   ` Masahiro Yamada
2016-08-25 12:04     ` Simon Glass
2016-08-26 16:47       ` Masahiro Yamada
2016-08-26 18:13         ` Simon Glass
2016-08-24 16:51 ` [U-Boot] [PATCH 03/42] Kconfig: Move SPL settings into their own file Simon Glass
2016-08-24 16:51 ` [U-Boot] [PATCH 04/42] arm: fsl: Adjust ordering of #ifndef CONFIG_SPL_BUILD Simon Glass
2016-08-24 16:51 ` [U-Boot] [PATCH 05/42] Drop CONFIG_SPL_RAM_SUPPORT Simon Glass
2016-08-24 16:51 ` [U-Boot] [PATCH 06/42] Use separate options for TPL support Simon Glass
2016-08-24 18:16   ` Stephen Warren
2016-08-25  0:41     ` Tom Rini
2016-08-25 12:04     ` Simon Glass
2016-08-25  2:20   ` Masahiro Yamada
2016-08-25 12:04     ` Simon Glass
2016-08-24 16:51 ` [U-Boot] [PATCH 07/42] Kconfig: spl: Add SPL support options to Kconfig Simon Glass
2016-08-25  1:28   ` Masahiro Yamada
2016-08-25 12:04     ` Simon Glass
2016-08-24 16:51 ` Simon Glass [this message]
2016-08-24 16:51 ` [U-Boot] [PATCH 09/42] Move existing use of CONFIG_SPL_DM " Simon Glass
2016-08-24 16:51 ` [U-Boot] [PATCH 10/42] Move existing use of CONFIG_SPL_RSA " Simon Glass
2016-08-24 16:51 ` [U-Boot] [PATCH 11/42] Convert CONFIG_SPL_CRYPTO_SUPPORT " Simon Glass
2016-08-24 16:51 ` [U-Boot] [PATCH 12/42] Convert CONFIG_SPL_HASH_SUPPORT " Simon Glass
2016-08-24 16:51 ` [U-Boot] [PATCH 13/42] Convert CONFIG_SPL_DMA_SUPPORT " Simon Glass
2016-08-24 16:51 ` [U-Boot] [PATCH 14/42] Convert CONFIG_SPL_DRIVERS_MISC_SUPPORT " Simon Glass
2016-08-24 16:51 ` [U-Boot] [PATCH 15/42] Convert CONFIG_SPL_ENV_SUPPORT " Simon Glass
2016-08-24 16:52 ` [U-Boot] [PATCH 16/42] Convert CONFIG_SPL_ETH_SUPPORT " Simon Glass
2016-08-24 16:52 ` [U-Boot] [PATCH 17/42] Convert CONFIG_SPL_EXT_SUPPORT " Simon Glass
2016-08-24 16:52 ` [U-Boot] [PATCH 18/42] Convert CONFIG_SPL_FAT_SUPPORT " Simon Glass
2016-08-24 16:52 ` [U-Boot] [PATCH 19/42] Convert CONFIG_SPL_GPIO_SUPPORT " Simon Glass
2016-08-24 18:01   ` Maxime Ripard
2016-08-24 19:30     ` Tom Rini
2016-08-25 12:04       ` Simon Glass
2016-08-25 22:01         ` Tom Rini
2016-08-26  2:14           ` Simon Glass
2016-08-24 16:52 ` [U-Boot] [PATCH 20/42] Convert CONFIG_SPL_I2C_SUPPORT " Simon Glass
2016-08-24 16:52 ` [U-Boot] [PATCH 21/42] Convert CONFIG_SPL_LIBCOMMON_SUPPORT " Simon Glass
2016-08-24 16:52 ` [U-Boot] [PATCH 22/42] Convert CONFIG_SPL_LIBDISK_SUPPORT " Simon Glass
2016-08-24 16:52 ` [U-Boot] [PATCH 23/42] Convert CONFIG_SPL_LIBGENERIC_SUPPORT " Simon Glass
2016-08-24 16:52 ` [U-Boot] [PATCH 24/42] Convert CONFIG_SPL_MMC_SUPPORT " Simon Glass
2016-08-24 16:52 ` [U-Boot] [PATCH 25/42] Convert CONFIG_SPL_MPC8XXX_INIT_DDR_SUPPORT " Simon Glass
2016-08-24 16:52 ` [U-Boot] [PATCH 26/42] Convert CONFIG_SPL_MTD_SUPPORT " Simon Glass
2016-08-24 16:52 ` [U-Boot] [PATCH 27/42] Convert CONFIG_SPL_MUSB_NEW_SUPPORT " Simon Glass
2016-08-24 16:52 ` [U-Boot] [PATCH 28/42] Convert CONFIG_SPL_NAND_SUPPORT " Simon Glass
2016-08-24 16:52 ` [U-Boot] [PATCH 29/42] Convert CONFIG_SPL_NET_SUPPORT " Simon Glass
2016-08-24 16:52 ` [U-Boot] [PATCH 30/42] Convert CONFIG_SPL_NOR_SUPPORT " Simon Glass
2016-08-24 16:52 ` [U-Boot] [PATCH 31/42] Convert CONFIG_SPL_ONENAND_SUPPORT " Simon Glass
2016-08-24 16:52 ` [U-Boot] [PATCH 32/42] Convert CONFIG_SPL_PINCTRL_SUPPORT " Simon Glass
2016-08-25  1:34   ` Masahiro Yamada
2016-08-25 12:04     ` Simon Glass
2016-08-24 16:52 ` [U-Boot] [PATCH 33/42] Convert CONFIG_SPL_POWER_SUPPORT " Simon Glass
2016-08-24 16:52 ` [U-Boot] [PATCH 34/42] Convert CONFIG_SPL_SATA_SUPPORT " Simon Glass
2016-08-24 16:52 ` [U-Boot] [PATCH 35/42] Convert CONFIG_SPL_SERIAL_SUPPORT " Simon Glass
2016-08-24 16:52 ` [U-Boot] [PATCH 36/42] Convert CONFIG_SPL_SPI_FLASH_SUPPORT " Simon Glass
2016-08-24 16:52 ` [U-Boot] [PATCH 37/42] Convert CONFIG_SPL_SPI_SUPPORT " Simon Glass
2016-08-24 16:52 ` [U-Boot] [PATCH 38/42] Convert CONFIG_SPL_USBETH_SUPPORT " Simon Glass
2016-08-24 16:52 ` [U-Boot] [PATCH 39/42] Convert CONFIG_SPL_USB_HOST_SUPPORT " Simon Glass
2016-08-24 16:52 ` [U-Boot] [PATCH 40/42] Convert CONFIG_SPL_USB_SUPPORT " Simon Glass
2016-08-24 16:52 ` [U-Boot] [PATCH 41/42] Convert CONFIG_SPL_WATCHDOG_SUPPORT " Simon Glass
2016-08-24 16:52 ` [U-Boot] [PATCH 42/42] Convert CONFIG_SPL_YMODEM_SUPPORT " Simon Glass
2016-08-25  4:30 ` [U-Boot] [PATCH 00/42] Kconfig: Move CONFIG_SPL_..._SUPPORT " Heiko Schocher
2016-08-25 12:04   ` Simon Glass
2016-08-26  4:58     ` Heiko Schocher
2016-08-25 14:19 ` Adam Ford

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1472057546-10360-9-git-send-email-sjg@chromium.org \
    --to=sjg@chromium.org \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.