mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 02:32:09 -04:00
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: Rob Herring <[email protected]> Signed-off-by: Grant Likely <[email protected]>
This commit is contained in:
parent
a4f740cf33
commit
236cdc7bc7
4 changed files with 6 additions and 4 deletions
|
|
@ -159,7 +159,7 @@ config MTD_AFS_PARTS
|
|||
|
||||
config MTD_OF_PARTS
|
||||
tristate "Flash partition map based on OF description"
|
||||
depends on (MICROBLAZE || PPC_OF) && MTD_PARTITIONS
|
||||
depends on OF && MTD_PARTITIONS
|
||||
help
|
||||
This provides a partition parsing function which derives
|
||||
the partition map from the children of the flash node,
|
||||
|
|
|
|||
|
|
@ -72,7 +72,7 @@ config MTD_PHYSMAP_BANKWIDTH
|
|||
|
||||
config MTD_PHYSMAP_OF
|
||||
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
|
||||
This provides a 'mapping' driver which allows the NOR Flash and
|
||||
ROM driver code to communicate with chips which are mapped
|
||||
|
|
|
|||
Loading…
Reference in a new issue