diff options
author | Grant Likely <grant.likely@secretlab.ca> | 2007-04-27 15:49:59 -0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2007-04-29 21:02:04 -0400 |
commit | 2b10caf380b0dbe3923b0ceefed17e3eaa7f2d4b (patch) | |
tree | e490b7ad7472fd61a5ea5f00d8931a756afb69d0 /arch/ppc/platforms/4xx | |
parent | c146c958dc953da172231577d7ee81cf06d7eeb4 (diff) |
[POWERPC] Rework Kconfig dependancies for Xilinx Virtex ppc405 platform
Reverse dependency order for Xilinx Virtex parts. For these parts, It
makes more sense for boards/chips to specify which features they
provide instead of the features listing the parts they are implemented
in. I think it also makes adding new board ports simpler.
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Acked-by: Peter Korsgaard <jacmet@sunsite.dk>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/ppc/platforms/4xx')
-rw-r--r-- | arch/ppc/platforms/4xx/Kconfig | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/arch/ppc/platforms/4xx/Kconfig b/arch/ppc/platforms/4xx/Kconfig index 705ae56016f0..76551b679030 100644 --- a/arch/ppc/platforms/4xx/Kconfig +++ b/arch/ppc/platforms/4xx/Kconfig | |||
@@ -29,6 +29,7 @@ config CPCI405 | |||
29 | 29 | ||
30 | config EP405 | 30 | config EP405 |
31 | bool "EP405/EP405PC" | 31 | bool "EP405/EP405PC" |
32 | select EMBEDDEDBOOT | ||
32 | help | 33 | help |
33 | This option enables support for the EP405/EP405PC boards. | 34 | This option enables support for the EP405/EP405PC boards. |
34 | 35 | ||
@@ -54,11 +55,15 @@ config WALNUT | |||
54 | 55 | ||
55 | config XILINX_ML300 | 56 | config XILINX_ML300 |
56 | bool "Xilinx-ML300" | 57 | bool "Xilinx-ML300" |
58 | select XILINX_VIRTEX_II_PRO | ||
59 | select EMBEDDEDBOOT | ||
57 | help | 60 | help |
58 | This option enables support for the Xilinx ML300 evaluation board. | 61 | This option enables support for the Xilinx ML300 evaluation board. |
59 | 62 | ||
60 | config XILINX_ML403 | 63 | config XILINX_ML403 |
61 | bool "Xilinx-ML403" | 64 | bool "Xilinx-ML403" |
65 | select XILINX_VIRTEX_4_FX | ||
66 | select EMBEDDEDBOOT | ||
62 | help | 67 | help |
63 | This option enables support for the Xilinx ML403 evaluation board. | 68 | This option enables support for the Xilinx ML403 evaluation board. |
64 | endchoice | 69 | endchoice |
@@ -215,18 +220,14 @@ config 405GPR | |||
215 | 220 | ||
216 | config XILINX_VIRTEX_II_PRO | 221 | config XILINX_VIRTEX_II_PRO |
217 | bool | 222 | bool |
218 | depends on XILINX_ML300 | 223 | select XILINX_VIRTEX |
219 | default y | ||
220 | 224 | ||
221 | config XILINX_VIRTEX_4_FX | 225 | config XILINX_VIRTEX_4_FX |
222 | bool | 226 | bool |
223 | depends on XILINX_ML403 | 227 | select XILINX_VIRTEX |
224 | default y | ||
225 | 228 | ||
226 | config XILINX_VIRTEX | 229 | config XILINX_VIRTEX |
227 | bool | 230 | bool |
228 | depends on XILINX_VIRTEX_II_PRO || XILINX_VIRTEX_4_FX | ||
229 | default y | ||
230 | 231 | ||
231 | config STB03xxx | 232 | config STB03xxx |
232 | bool | 233 | bool |
@@ -235,8 +236,6 @@ config STB03xxx | |||
235 | 236 | ||
236 | config EMBEDDEDBOOT | 237 | config EMBEDDEDBOOT |
237 | bool | 238 | bool |
238 | depends on EP405 || XILINX_ML300 || XILINX_ML403 | ||
239 | default y | ||
240 | 239 | ||
241 | config IBM_OPENBIOS | 240 | config IBM_OPENBIOS |
242 | bool | 241 | bool |