aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/platforms/pasemi/Kconfig
diff options
context:
space:
mode:
authorOlof Johansson <olof@lixom.net>2007-05-12 10:50:41 -0400
committerPaul Mackerras <paulus@samba.org>2007-06-25 02:58:05 -0400
commit8fa336d889caa72637e0860f53fa40ef66dcceaf (patch)
tree49d7340e01512639d2e610c1630ecd124e4220c6 /arch/powerpc/platforms/pasemi/Kconfig
parent0c358e70762861f8d479f3fa8bec358c599ba04a (diff)
[POWERPC] pasemi: Electra IDE/pata_platform glue
Glue code to hook up the pata_platform on the PA Semi Electra eval board. CFE sets up device tree entries for the IDE interface, with device type 'ide' and compatible field 'electra-ide'. We unfortunately need to modify the resources before calling the generic platform driver, since the device tree only has one register window in it and the driver expects two. Adding this as an of_platform driver instead doesn't give us any benefit, it just adds one more layer of register/probe functions. Since CONFIG_PATA_PLATFORM depends on CONFIG_EMBEDDED, add that as a default for PPC_PASEMI. Signed-off-by: Olof Johansson <olof@lixom.net> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/platforms/pasemi/Kconfig')
-rw-r--r--arch/powerpc/platforms/pasemi/Kconfig10
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/powerpc/platforms/pasemi/Kconfig b/arch/powerpc/platforms/pasemi/Kconfig
index 7c5076e38ea1..4275ff873aac 100644
--- a/arch/powerpc/platforms/pasemi/Kconfig
+++ b/arch/powerpc/platforms/pasemi/Kconfig
@@ -5,6 +5,7 @@ config PPC_PASEMI
5 select MPIC 5 select MPIC
6 select PPC_UDBG_16550 6 select PPC_UDBG_16550
7 select PPC_NATIVE 7 select PPC_NATIVE
8 select EMBEDDED
8 help 9 help
9 This option enables support for PA Semi's PWRficient line 10 This option enables support for PA Semi's PWRficient line
10 of SoC processors, including PA6T-1682M 11 of SoC processors, including PA6T-1682M
@@ -25,4 +26,13 @@ config PPC_PASEMI_MDIO
25 help 26 help
26 Driver for MDIO via GPIO on PWRficient platforms 27 Driver for MDIO via GPIO on PWRficient platforms
27 28
29config ELECTRA_IDE
30 tristate "Electra IDE driver"
31 default y
32 depends on PPC_PASEMI && ATA
33 select PATA_PLATFORM
34 help
35 This includes driver support for the Electra on-board IDE
36 interface.
37
28endmenu 38endmenu