powerpc/mpc5200: fix bestcomm Kconfig dependencies
Without this patch it is possible to select drivers which require bestcomm support without bestcomm support being selected. This patch reworks the bestcomm dependencies to ensure the correct bestcomm tasks are always enabled. Reported-by: Hans Lehmann <hans.lehmann@ritter-elektronik.de> Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
This commit is contained in:
Родитель
4ffaf869c7
Коммит
847cdf42d5
|
@ -17,23 +17,20 @@ config PPC_BESTCOMM
|
||||||
answer Y or M. Otherwise say N.
|
answer Y or M. Otherwise say N.
|
||||||
|
|
||||||
config PPC_BESTCOMM_ATA
|
config PPC_BESTCOMM_ATA
|
||||||
tristate "Bestcomm ATA task support"
|
tristate
|
||||||
depends on PPC_BESTCOMM
|
depends on PPC_BESTCOMM
|
||||||
default n
|
|
||||||
help
|
help
|
||||||
This option enables the support for the ATA task.
|
This option enables the support for the ATA task.
|
||||||
|
|
||||||
config PPC_BESTCOMM_FEC
|
config PPC_BESTCOMM_FEC
|
||||||
tristate "Bestcomm FEC tasks support"
|
tristate
|
||||||
depends on PPC_BESTCOMM
|
depends on PPC_BESTCOMM
|
||||||
default n
|
|
||||||
help
|
help
|
||||||
This option enables the support for the FEC tasks.
|
This option enables the support for the FEC tasks.
|
||||||
|
|
||||||
config PPC_BESTCOMM_GEN_BD
|
config PPC_BESTCOMM_GEN_BD
|
||||||
tristate "Bestcomm GenBD tasks support"
|
tristate
|
||||||
depends on PPC_BESTCOMM
|
depends on PPC_BESTCOMM
|
||||||
default n
|
|
||||||
help
|
help
|
||||||
This option enables the support for the GenBD tasks.
|
This option enables the support for the GenBD tasks.
|
||||||
|
|
||||||
|
|
|
@ -1825,9 +1825,10 @@ config FEC2
|
||||||
|
|
||||||
config FEC_MPC52xx
|
config FEC_MPC52xx
|
||||||
tristate "MPC52xx FEC driver"
|
tristate "MPC52xx FEC driver"
|
||||||
depends on PPC_MPC52xx && PPC_BESTCOMM_FEC
|
depends on PPC_MPC52xx && PPC_BESTCOMM
|
||||||
select CRC32
|
select CRC32
|
||||||
select PHYLIB
|
select PHYLIB
|
||||||
|
select PPC_BESTCOMM_FEC
|
||||||
---help---
|
---help---
|
||||||
This option enables support for the MPC5200's on-chip
|
This option enables support for the MPC5200's on-chip
|
||||||
Fast Ethernet Controller
|
Fast Ethernet Controller
|
||||||
|
|
|
@ -20,7 +20,8 @@ config SND_SOC_MPC8610_HPCD
|
||||||
|
|
||||||
config SND_SOC_MPC5200_I2S
|
config SND_SOC_MPC5200_I2S
|
||||||
tristate "Freescale MPC5200 PSC in I2S mode driver"
|
tristate "Freescale MPC5200 PSC in I2S mode driver"
|
||||||
|
depends on SND_SOC && PPC_MPC52xx && PPC_BESTCOMM
|
||||||
select SND_SOC_OF_SIMPLE
|
select SND_SOC_OF_SIMPLE
|
||||||
depends on SND_SOC && PPC_MPC52xx
|
select PPC_BESTCOMM_GEN_BD
|
||||||
help
|
help
|
||||||
Say Y here to support the MPC5200 PSCs in I2S mode.
|
Say Y here to support the MPC5200 PSCs in I2S mode.
|
||||||
|
|
Загрузка…
Ссылка в новой задаче