diff mbox series

[U-Boot] tpl: spi: Add CONFIG_TPL_SPI_LOAD to Kconfig

Message ID 20180407140546.10433-1-marek.vasut+renesas@gmail.com
State Accepted
Commit 1e725e27eb489bb76a3dbed951009a2a7f5ee6c3
Delegated to: Tom Rini
Headers show
Series [U-Boot] tpl: spi: Add CONFIG_TPL_SPI_LOAD to Kconfig | expand

Commit Message

Marek Vasut April 7, 2018, 2:05 p.m. UTC
Add Kconfig entry for CONFIG_TPL_SPI_LOAD symbol to match the SPL one.

Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Cc: Tom Rini <trini@konsulko.com>
---
 common/spl/Kconfig | 7 +++++++
 1 file changed, 7 insertions(+)

Comments

Tom Rini April 11, 2018, 8:59 p.m. UTC | #1
On Sat, Apr 07, 2018 at 04:05:46PM +0200, Marek Vasut wrote:

> Add Kconfig entry for CONFIG_TPL_SPI_LOAD symbol to match the SPL one.
> 
> Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
> Cc: Tom Rini <trini@konsulko.com>

Applied to u-boot/master, thanks!
diff mbox series

Patch

diff --git a/common/spl/Kconfig b/common/spl/Kconfig
index 9697173b83..d0e7d389bb 100644
--- a/common/spl/Kconfig
+++ b/common/spl/Kconfig
@@ -922,6 +922,13 @@  config TPL_SPI_FLASH_SUPPORT
 	  Enable support for using SPI flash in TPL. See SPL_SPI_FLASH_SUPPORT
 	  for details.
 
+config TPL_SPI_LOAD
+	bool "Support loading from SPI flash"
+	depends on TPL_SPI_FLASH_SUPPORT
+	help
+	  Enable support for loading next stage, U-Boot or otherwise, from
+	  SPI NOR in U-Boot TPL.
+
 config TPL_SPI_SUPPORT
 	bool "Support SPI drivers"
 	help