Commit c8a55f3d authored by Kumar Gala's avatar Kumar Gala

[POWERPC] Convert 8xx platform to unified platform Kconfig

Moved 8xx platform Kconfig over to being sourced by the unified
arch/powerpc/platforms/Kconfig.  Also, cleaned up whitespace issues in 8xx
Kconfig.
Signed-off-by: default avatarKumar Gala <galak@kernel.crashing.org>
parent d6071f88
...@@ -378,7 +378,6 @@ source "arch/powerpc/platforms/Kconfig" ...@@ -378,7 +378,6 @@ source "arch/powerpc/platforms/Kconfig"
source arch/powerpc/platforms/embedded6xx/Kconfig source arch/powerpc/platforms/embedded6xx/Kconfig
source arch/powerpc/platforms/4xx/Kconfig source arch/powerpc/platforms/4xx/Kconfig
source arch/powerpc/platforms/85xx/Kconfig source arch/powerpc/platforms/85xx/Kconfig
source arch/powerpc/platforms/8xx/Kconfig
menu "Kernel options" menu "Kernel options"
......
menu "Platform support"
depends on PPC_8xx
config FADS config FADS
bool bool
...@@ -9,6 +6,7 @@ config CPM1 ...@@ -9,6 +6,7 @@ config CPM1
choice choice
prompt "8xx Machine Type" prompt "8xx Machine Type"
depends on PPC_8xx
depends on 8xx depends on 8xx
default MPC885ADS default MPC885ADS
...@@ -36,38 +34,36 @@ config MPC885ADS ...@@ -36,38 +34,36 @@ config MPC885ADS
endchoice endchoice
menu "Freescale Ethernet driver platform-specific options" menu "Freescale Ethernet driver platform-specific options"
depends on (FS_ENET && MPC885ADS) depends on (FS_ENET && MPC885ADS)
config MPC8xx_SECOND_ETH
bool "Second Ethernet channel"
depends on MPC885ADS
default y
help
This enables support for second Ethernet on MPC885ADS and MPC86xADS boards.
The latter will use SCC1, for 885ADS you can select it below.
choice
prompt "Second Ethernet channel"
depends on MPC8xx_SECOND_ETH
default MPC8xx_SECOND_ETH_FEC2
config MPC8xx_SECOND_ETH_FEC2
bool "FEC2"
depends on MPC885ADS
help
Enable FEC2 to serve as 2-nd Ethernet channel. Note that SMC2
(often 2-nd UART) will not work if this is enabled.
config MPC8xx_SECOND_ETH_SCC3
bool "SCC3"
depends on MPC885ADS
help
Enable SCC3 to serve as 2-nd Ethernet channel. Note that SMC1
(often 1-nd UART) will not work if this is enabled.
endchoice
endmenu config MPC8xx_SECOND_ETH
bool "Second Ethernet channel"
depends on MPC885ADS
default y
help
This enables support for second Ethernet on MPC885ADS and MPC86xADS boards.
The latter will use SCC1, for 885ADS you can select it below.
choice
prompt "Second Ethernet channel"
depends on MPC8xx_SECOND_ETH
default MPC8xx_SECOND_ETH_FEC2
config MPC8xx_SECOND_ETH_FEC2
bool "FEC2"
depends on MPC885ADS
help
Enable FEC2 to serve as 2-nd Ethernet channel. Note that SMC2
(often 2-nd UART) will not work if this is enabled.
config MPC8xx_SECOND_ETH_SCC3
bool "SCC3"
depends on MPC885ADS
help
Enable SCC3 to serve as 2-nd Ethernet channel. Note that SMC1
(often 1-nd UART) will not work if this is enabled.
endchoice
endmenu endmenu
...@@ -98,7 +94,7 @@ config 8xx_CPU6 ...@@ -98,7 +94,7 @@ config 8xx_CPU6
require workarounds for Linux (and most other OSes to work). If you require workarounds for Linux (and most other OSes to work). If you
get a BUG() very early in boot, this might fix the problem. For get a BUG() very early in boot, this might fix the problem. For
more details read the document entitled "MPC860 Family Device Errata more details read the document entitled "MPC860 Family Device Errata
Reference" on Motorola's website. This option also incurs a Reference" on Freescale's website. This option also incurs a
performance hit. performance hit.
If in doubt, say N here. If in doubt, say N here.
...@@ -135,4 +131,3 @@ config UCODE_PATCH ...@@ -135,4 +131,3 @@ config UCODE_PATCH
depends on !NO_UCODE_PATCH depends on !NO_UCODE_PATCH
endmenu endmenu
menu "Platform support" menu "Platform support"
depends on PPC64 || CLASSIC32 || PPC_82xx || PPC_83xx || PPC_86xx depends on PPC64 || CLASSIC32 || PPC_8xx || PPC_82xx || PPC_83xx || \
PPC_86xx
choice choice
prompt "Machine type" prompt "Machine type"
...@@ -45,6 +46,7 @@ source "arch/powerpc/platforms/pasemi/Kconfig" ...@@ -45,6 +46,7 @@ source "arch/powerpc/platforms/pasemi/Kconfig"
source arch/powerpc/platforms/celleb/Kconfig source arch/powerpc/platforms/celleb/Kconfig
source arch/powerpc/platforms/ps3/Kconfig source arch/powerpc/platforms/ps3/Kconfig
source arch/powerpc/platforms/cell/Kconfig source arch/powerpc/platforms/cell/Kconfig
source "arch/powerpc/platforms/8xx/Kconfig"
source "arch/powerpc/platforms/82xx/Kconfig" source "arch/powerpc/platforms/82xx/Kconfig"
source "arch/powerpc/platforms/83xx/Kconfig" source "arch/powerpc/platforms/83xx/Kconfig"
source "arch/powerpc/platforms/86xx/Kconfig" source "arch/powerpc/platforms/86xx/Kconfig"
......
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