xref: /linux/arch/powerpc/platforms/8xx/Kconfig (revision 20906ecea2004c0667c8b229ac6461d16ea6bde3)
114cf11afSPaul Mackerrasconfig FADS
214cf11afSPaul Mackerras	bool
314cf11afSPaul Mackerras
4df34403dSVitaly Bordugconfig CPM1
5df34403dSVitaly Bordug	bool
6c374e00eSScott Wood	select CPM
7df34403dSVitaly Bordug
814cf11afSPaul Mackerraschoice
914cf11afSPaul Mackerras	prompt "8xx Machine Type"
10c8a55f3dSKumar Gala	depends on PPC_8xx
1114cf11afSPaul Mackerras	depends on 8xx
12df34403dSVitaly Bordug	default MPC885ADS
1314cf11afSPaul Mackerras
1414cf11afSPaul Mackerrasconfig MPC8XXFADS
1514cf11afSPaul Mackerras	bool "FADS"
1614cf11afSPaul Mackerras	select FADS
1714cf11afSPaul Mackerras
1814cf11afSPaul Mackerrasconfig MPC86XADS
1914cf11afSPaul Mackerras	bool "MPC86XADS"
20df34403dSVitaly Bordug	select CPM1
2114cf11afSPaul Mackerras	help
2214cf11afSPaul Mackerras	  MPC86x Application Development System by Freescale Semiconductor.
2314cf11afSPaul Mackerras	  The MPC86xADS is meant to serve as a platform for s/w and h/w
2414cf11afSPaul Mackerras	  development around the MPC86X processor families.
2514cf11afSPaul Mackerras
2614cf11afSPaul Mackerrasconfig MPC885ADS
2714cf11afSPaul Mackerras	bool "MPC885ADS"
28df34403dSVitaly Bordug	select CPM1
29*20906eceSScott Wood	select PPC_CPM_NEW_BINDING
3014cf11afSPaul Mackerras	help
3114cf11afSPaul Mackerras	  Freescale Semiconductor MPC885 Application Development System (ADS).
3214cf11afSPaul Mackerras	  Also known as DUET.
3314cf11afSPaul Mackerras	  The MPC885ADS is meant to serve as a platform for s/w and h/w
3414cf11afSPaul Mackerras	  development around the MPC885 processor family.
3514cf11afSPaul Mackerras
36df34403dSVitaly Bordugendchoice
37df34403dSVitaly Bordug
38df34403dSVitaly Bordugmenu "Freescale Ethernet driver platform-specific options"
39df34403dSVitaly Bordug	depends on (FS_ENET && MPC885ADS)
40df34403dSVitaly Bordug
41df34403dSVitaly Bordug	config MPC8xx_SECOND_ETH
42df34403dSVitaly Bordug	bool "Second Ethernet channel"
43df34403dSVitaly Bordug	depends on MPC885ADS
44df34403dSVitaly Bordug	default y
4514cf11afSPaul Mackerras	help
46df34403dSVitaly Bordug	  This enables support for second Ethernet on MPC885ADS and MPC86xADS boards.
47df34403dSVitaly Bordug	  The latter will use SCC1, for 885ADS you can select it below.
4814cf11afSPaul Mackerras
49df34403dSVitaly Bordug	choice
50df34403dSVitaly Bordug		prompt "Second Ethernet channel"
51df34403dSVitaly Bordug		depends on MPC8xx_SECOND_ETH
52df34403dSVitaly Bordug		default MPC8xx_SECOND_ETH_FEC2
53df34403dSVitaly Bordug
54df34403dSVitaly Bordug		config MPC8xx_SECOND_ETH_FEC2
55df34403dSVitaly Bordug		bool "FEC2"
56df34403dSVitaly Bordug		depends on MPC885ADS
5714cf11afSPaul Mackerras		help
58df34403dSVitaly Bordug		  Enable FEC2 to serve as 2-nd Ethernet channel. Note that SMC2
59df34403dSVitaly Bordug		  (often 2-nd UART) will not work if this is enabled.
6014cf11afSPaul Mackerras
61df34403dSVitaly Bordug		config MPC8xx_SECOND_ETH_SCC3
62df34403dSVitaly Bordug		bool "SCC3"
63df34403dSVitaly Bordug		depends on MPC885ADS
6414cf11afSPaul Mackerras		help
65df34403dSVitaly Bordug		  Enable SCC3 to serve as 2-nd Ethernet channel. Note that SMC1
66df34403dSVitaly Bordug		  (often 1-nd UART) will not work if this is enabled.
6714cf11afSPaul Mackerras
6814cf11afSPaul Mackerras	endchoice
6914cf11afSPaul Mackerras
70df34403dSVitaly Bordugendmenu
71df34403dSVitaly Bordug
7214cf11afSPaul Mackerras#
7314cf11afSPaul Mackerras# MPC8xx Communication options
7414cf11afSPaul Mackerras#
7514cf11afSPaul Mackerras
7614cf11afSPaul Mackerrasmenu "MPC8xx CPM Options"
7714cf11afSPaul Mackerras	depends on 8xx
7814cf11afSPaul Mackerras
7914cf11afSPaul Mackerras# This doesn't really belong here, but it is convenient to ask
8014cf11afSPaul Mackerras# 8xx specific questions.
8114cf11afSPaul Mackerrascomment "Generic MPC8xx Options"
8214cf11afSPaul Mackerras
8314cf11afSPaul Mackerrasconfig 8xx_COPYBACK
8414cf11afSPaul Mackerras	bool "Copy-Back Data Cache (else Writethrough)"
8514cf11afSPaul Mackerras	help
8614cf11afSPaul Mackerras	  Saying Y here will cause the cache on an MPC8xx processor to be used
8714cf11afSPaul Mackerras	  in Copy-Back mode.  If you say N here, it is used in Writethrough
8814cf11afSPaul Mackerras	  mode.
8914cf11afSPaul Mackerras
9014cf11afSPaul Mackerras	  If in doubt, say Y here.
9114cf11afSPaul Mackerras
9214cf11afSPaul Mackerrasconfig 8xx_CPU6
9314cf11afSPaul Mackerras	bool "CPU6 Silicon Errata (860 Pre Rev. C)"
9414cf11afSPaul Mackerras	help
9514cf11afSPaul Mackerras	  MPC860 CPUs, prior to Rev C have some bugs in the silicon, which
9614cf11afSPaul Mackerras	  require workarounds for Linux (and most other OSes to work).  If you
9714cf11afSPaul Mackerras	  get a BUG() very early in boot, this might fix the problem.  For
9814cf11afSPaul Mackerras	  more details read the document entitled "MPC860 Family Device Errata
99c8a55f3dSKumar Gala	  Reference" on Freescale's website.  This option also incurs a
10014cf11afSPaul Mackerras	  performance hit.
10114cf11afSPaul Mackerras
10214cf11afSPaul Mackerras	  If in doubt, say N here.
10314cf11afSPaul Mackerras
10474016852SScott Woodconfig 8xx_CPU15
10574016852SScott Wood	bool "CPU15 Silicon Errata"
10674016852SScott Wood	default y
10774016852SScott Wood	help
10874016852SScott Wood	  This enables a workaround for erratum CPU15 on MPC8xx chips.
10974016852SScott Wood	  This bug can cause incorrect code execution under certain
11074016852SScott Wood	  circumstances.  This workaround adds some overhead (a TLB miss
11174016852SScott Wood	  every time execution crosses a page boundary), and you may wish
11274016852SScott Wood	  to disable it if you have worked around the bug in the compiler
11374016852SScott Wood	  (by not placing conditional branches or branches to LR or CTR
11474016852SScott Wood	  in the last word of a page, with a target of the last cache
11574016852SScott Wood	  line in the next page), or if you have used some other
11674016852SScott Wood	  workaround.
11774016852SScott Wood
11874016852SScott Wood	  If in doubt, say Y here.
11974016852SScott Wood
12014cf11afSPaul Mackerraschoice
12114cf11afSPaul Mackerras	prompt "Microcode patch selection"
12214cf11afSPaul Mackerras	default NO_UCODE_PATCH
12314cf11afSPaul Mackerras	help
12414cf11afSPaul Mackerras	  Help not implemented yet, coming soon.
12514cf11afSPaul Mackerras
12614cf11afSPaul Mackerrasconfig NO_UCODE_PATCH
12714cf11afSPaul Mackerras	bool "None"
12814cf11afSPaul Mackerras
12914cf11afSPaul Mackerrasconfig USB_SOF_UCODE_PATCH
13014cf11afSPaul Mackerras	bool "USB SOF patch"
13114cf11afSPaul Mackerras	help
13214cf11afSPaul Mackerras	  Help not implemented yet, coming soon.
13314cf11afSPaul Mackerras
13414cf11afSPaul Mackerrasconfig I2C_SPI_UCODE_PATCH
13514cf11afSPaul Mackerras	bool "I2C/SPI relocation patch"
13614cf11afSPaul Mackerras	help
13714cf11afSPaul Mackerras	  Help not implemented yet, coming soon.
13814cf11afSPaul Mackerras
13914cf11afSPaul Mackerrasconfig I2C_SPI_SMC1_UCODE_PATCH
14014cf11afSPaul Mackerras	bool "I2C/SPI/SMC1 relocation patch"
14114cf11afSPaul Mackerras	help
14214cf11afSPaul Mackerras	  Help not implemented yet, coming soon.
14314cf11afSPaul Mackerras
14414cf11afSPaul Mackerrasendchoice
14514cf11afSPaul Mackerras
14614cf11afSPaul Mackerrasconfig UCODE_PATCH
14714cf11afSPaul Mackerras	bool
14814cf11afSPaul Mackerras	default y
14914cf11afSPaul Mackerras	depends on !NO_UCODE_PATCH
15014cf11afSPaul Mackerras
15114cf11afSPaul Mackerrasendmenu
152