Browse Source

spi: add default selection of PL022 for ARM reference platforms

This makes the PL022 driver a default choice for any RealView and
Versatile boards plus the integrator IMPD1 which all contain the PL022
PrimeCell.  This will make it a default choice if and only if a user
selects SPI support for their board.

Signed-off-by: Linus Walleij <linus.walleij@stericsson.com>
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
linus.walleij@stericsson.com 16 years ago
parent
commit
f33b29ee33
1 changed files with 3 additions and 0 deletions
  1. 3 0
      drivers/spi/Kconfig

+ 3 - 0
drivers/spi/Kconfig

@@ -166,6 +166,9 @@ config SPI_PL022
 	tristate "ARM AMBA PL022 SSP controller (EXPERIMENTAL)"
 	tristate "ARM AMBA PL022 SSP controller (EXPERIMENTAL)"
 	depends on ARM_AMBA && EXPERIMENTAL
 	depends on ARM_AMBA && EXPERIMENTAL
 	default y if MACH_U300
 	default y if MACH_U300
+	default y if ARCH_REALVIEW
+	default y if INTEGRATOR_IMPD1
+	default y if ARCH_VERSATILE
 	help
 	help
 	  This selects the ARM(R) AMBA(R) PrimeCell PL022 SSP
 	  This selects the ARM(R) AMBA(R) PrimeCell PL022 SSP
 	  controller. If you have an embedded system with an AMBA(R)
 	  controller. If you have an embedded system with an AMBA(R)