8fa336d889
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>
39 lines
831 B
Plaintext
39 lines
831 B
Plaintext
config PPC_PASEMI
|
|
depends on PPC_MULTIPLATFORM && PPC64
|
|
bool "PA Semi SoC-based platforms"
|
|
default n
|
|
select MPIC
|
|
select PPC_UDBG_16550
|
|
select PPC_NATIVE
|
|
select EMBEDDED
|
|
help
|
|
This option enables support for PA Semi's PWRficient line
|
|
of SoC processors, including PA6T-1682M
|
|
|
|
menu "PA Semi PWRficient options"
|
|
depends on PPC_PASEMI
|
|
|
|
config PPC_PASEMI_IOMMU
|
|
bool "PA Semi IOMMU support"
|
|
depends on PPC_PASEMI
|
|
help
|
|
IOMMU support for PA6T-1682M
|
|
|
|
config PPC_PASEMI_MDIO
|
|
depends on PHYLIB
|
|
tristate "MDIO support via GPIO"
|
|
default y
|
|
help
|
|
Driver for MDIO via GPIO on PWRficient platforms
|
|
|
|
config ELECTRA_IDE
|
|
tristate "Electra IDE driver"
|
|
default y
|
|
depends on PPC_PASEMI && ATA
|
|
select PATA_PLATFORM
|
|
help
|
|
This includes driver support for the Electra on-board IDE
|
|
interface.
|
|
|
|
endmenu
|