Commit 236cdc7b authored by Rob Herring's avatar Rob Herring Committed by Grant Likely

of: make drivers depend on CONFIG_OF instead of CONFIG_PPC_OF

Some OF drivers could likely be used on non-powerpc OF based platforms,
so fix the kconfig depends to be CONFIG_OF instead of CONFIG_PPC_OF.

Compile tested on ARM and sparc.
Signed-off-by: default avatarRob Herring <rob.herring@calxeda.com>
Signed-off-by: default avatarGrant Likely <grant.likely@secretlab.ca>
parent a4f740cf
...@@ -83,7 +83,7 @@ config MMC_RICOH_MMC ...@@ -83,7 +83,7 @@ config MMC_RICOH_MMC
config MMC_SDHCI_OF config MMC_SDHCI_OF
tristate "SDHCI support on OpenFirmware platforms" tristate "SDHCI support on OpenFirmware platforms"
depends on MMC_SDHCI && PPC_OF depends on MMC_SDHCI && OF
help help
This selects the OF support for Secure Digital Host Controller This selects the OF support for Secure Digital Host Controller
Interfaces. Interfaces.
...@@ -93,6 +93,7 @@ config MMC_SDHCI_OF ...@@ -93,6 +93,7 @@ config MMC_SDHCI_OF
config MMC_SDHCI_OF_ESDHC config MMC_SDHCI_OF_ESDHC
bool "SDHCI OF support for the Freescale eSDHC controller" bool "SDHCI OF support for the Freescale eSDHC controller"
depends on MMC_SDHCI_OF depends on MMC_SDHCI_OF
depends on PPC_OF
select MMC_SDHCI_BIG_ENDIAN_32BIT_BYTE_SWAPPER select MMC_SDHCI_BIG_ENDIAN_32BIT_BYTE_SWAPPER
help help
This selects the Freescale eSDHC controller support. This selects the Freescale eSDHC controller support.
...@@ -102,6 +103,7 @@ config MMC_SDHCI_OF_ESDHC ...@@ -102,6 +103,7 @@ config MMC_SDHCI_OF_ESDHC
config MMC_SDHCI_OF_HLWD config MMC_SDHCI_OF_HLWD
bool "SDHCI OF support for the Nintendo Wii SDHCI controllers" bool "SDHCI OF support for the Nintendo Wii SDHCI controllers"
depends on MMC_SDHCI_OF depends on MMC_SDHCI_OF
depends on PPC_OF
select MMC_SDHCI_BIG_ENDIAN_32BIT_BYTE_SWAPPER select MMC_SDHCI_BIG_ENDIAN_32BIT_BYTE_SWAPPER
help help
This selects the Secure Digital Host Controller Interface (SDHCI) This selects the Secure Digital Host Controller Interface (SDHCI)
......
...@@ -159,7 +159,7 @@ config MTD_AFS_PARTS ...@@ -159,7 +159,7 @@ config MTD_AFS_PARTS
config MTD_OF_PARTS config MTD_OF_PARTS
tristate "Flash partition map based on OF description" tristate "Flash partition map based on OF description"
depends on (MICROBLAZE || PPC_OF) && MTD_PARTITIONS depends on OF && MTD_PARTITIONS
help help
This provides a partition parsing function which derives This provides a partition parsing function which derives
the partition map from the children of the flash node, the partition map from the children of the flash node,
......
...@@ -72,7 +72,7 @@ config MTD_PHYSMAP_BANKWIDTH ...@@ -72,7 +72,7 @@ config MTD_PHYSMAP_BANKWIDTH
config MTD_PHYSMAP_OF config MTD_PHYSMAP_OF
tristate "Flash device in physical memory map based on OF description" tristate "Flash device in physical memory map based on OF description"
depends on (MICROBLAZE || PPC_OF) && (MTD_CFI || MTD_JEDECPROBE || MTD_ROM) depends on OF && (MTD_CFI || MTD_JEDECPROBE || MTD_ROM)
help help
This provides a 'mapping' driver which allows the NOR Flash and This provides a 'mapping' driver which allows the NOR Flash and
ROM driver code to communicate with chips which are mapped ROM driver code to communicate with chips which are mapped
......
...@@ -1402,7 +1402,7 @@ config SERIAL_NETX_CONSOLE ...@@ -1402,7 +1402,7 @@ config SERIAL_NETX_CONSOLE
config SERIAL_OF_PLATFORM config SERIAL_OF_PLATFORM
tristate "Serial port on Open Firmware platform bus" tristate "Serial port on Open Firmware platform bus"
depends on PPC_OF || MICROBLAZE depends on OF
depends on SERIAL_8250 || SERIAL_OF_PLATFORM_NWPSERIAL depends on SERIAL_8250 || SERIAL_OF_PLATFORM_NWPSERIAL
help help
If you have a PowerPC based system that has serial ports If you have a PowerPC based system that has serial ports
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment