U-Boot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] arm: socfpga: use imply instead of select for spi/mmc
@ 2018-02-12 14:52 Simon Goldschmidt
  2018-02-12 14:54 ` Marek Vasut
  0 siblings, 1 reply; 15+ messages in thread
From: Simon Goldschmidt @ 2018-02-12 14:52 UTC (permalink / raw)
  To: u-boot

In arch/arm/Kconfig, ARCH_SOCFPGA currently selects some
thins for spi flash and mmc that are not required by the hw.

Give users more freedom of choice and use imply here instead
of select.

This should allow disabling spi support completely or using
sd/mmc boot in "raw mode" (no partitions).

Signed-off-by: Simon Goldschmidt <sgoldschmidt@de.pepperl-fuchs.com>
---

 arch/arm/Kconfig | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index 225f57e847..37bf3dd69f 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -699,13 +699,13 @@ config ARCH_SOCFPGA
 	select OF_CONTROL
 	select SPL_OF_CONTROL
 	select DM
-	select DM_SPI_FLASH
-	select DM_SPI
 	select ENABLE_ARM_SOC_BOOT0_HOOK
 	select ARCH_EARLY_INIT_R
 	select ARCH_MISC_INIT
-	select SYS_MMCSD_RAW_MODE_U_BOOT_USE_PARTITION
 	select SYS_THUMB_BUILD
+	imply DM_SPI_FLASH
+	imply DM_SPI
+	imply SYS_MMCSD_RAW_MODE_U_BOOT_USE_PARTITION
 	imply CMD_MTDPARTS
 	imply CRC32_VERIFY
 	imply FAT_WRITE
-- 
2.11.0

^ permalink raw reply related	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2018-02-13 12:50 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-02-12 14:52 [U-Boot] [PATCH] arm: socfpga: use imply instead of select for spi/mmc Simon Goldschmidt
2018-02-12 14:54 ` Marek Vasut
2018-02-12 15:16   ` Simon Goldschmidt
2018-02-12 15:23     ` Marek Vasut
2018-02-12 15:39       ` Lukasz Majewski
2018-02-12 15:40         ` Marek Vasut
2018-02-12 16:46   ` Tom Rini
2018-02-12 16:51     ` Marek Vasut
2018-02-12 16:53       ` Tom Rini
2018-02-13 12:33   ` Simon Goldschmidt
2018-02-13 12:37     ` Marek Vasut
2018-02-13 12:41       ` Simon Goldschmidt
2018-02-13 12:44         ` Marek Vasut
2018-02-13 12:46           ` Simon Goldschmidt
2018-02-13 12:50             ` Marek Vasut

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox