xref: /linux/arch/powerpc/platforms/8xx/Kconfig (revision ab2675d6acec03aec4a866f7d293fdbcd77d2be1)
1df34403dSVitaly Bordugconfig CPM1
2df34403dSVitaly Bordug	bool
3c374e00eSScott Wood	select CPM
4df34403dSVitaly Bordug
514cf11afSPaul Mackerraschoice
614cf11afSPaul Mackerras	prompt "8xx Machine Type"
7c8a55f3dSKumar Gala	depends on PPC_8xx
8df34403dSVitaly Bordug	default MPC885ADS
914cf11afSPaul Mackerras
1014cf11afSPaul Mackerrasconfig MPC8XXFADS
1114cf11afSPaul Mackerras	bool "FADS"
1214cf11afSPaul Mackerras
1314cf11afSPaul Mackerrasconfig MPC86XADS
1414cf11afSPaul Mackerras	bool "MPC86XADS"
15df34403dSVitaly Bordug	select CPM1
1614cf11afSPaul Mackerras	help
1714cf11afSPaul Mackerras	  MPC86x Application Development System by Freescale Semiconductor.
1814cf11afSPaul Mackerras	  The MPC86xADS is meant to serve as a platform for s/w and h/w
1914cf11afSPaul Mackerras	  development around the MPC86X processor families.
2014cf11afSPaul Mackerras
2114cf11afSPaul Mackerrasconfig MPC885ADS
2214cf11afSPaul Mackerras	bool "MPC885ADS"
23df34403dSVitaly Bordug	select CPM1
240f22dd39SGrant Likely	select OF_DYNAMIC
2514cf11afSPaul Mackerras	help
2614cf11afSPaul Mackerras	  Freescale Semiconductor MPC885 Application Development System (ADS).
2714cf11afSPaul Mackerras	  Also known as DUET.
2814cf11afSPaul Mackerras	  The MPC885ADS is meant to serve as a platform for s/w and h/w
2914cf11afSPaul Mackerras	  development around the MPC885 processor family.
3014cf11afSPaul Mackerras
3111c146ccSScott Woodconfig PPC_EP88XC
3211c146ccSScott Wood	bool "Embedded Planet EP88xC (a.k.a. CWH-PPC-885XN-VE)"
3311c146ccSScott Wood	select CPM1
3411c146ccSScott Wood	help
3511c146ccSScott Wood	  This enables support for the Embedded Planet EP88xC board.
3611c146ccSScott Wood
3711c146ccSScott Wood	  This board is also resold by Freescale as the QUICCStart
3811c146ccSScott Wood	  MPC885 Evaluation System and/or the CWH-PPC-885XN-VE.
3911c146ccSScott Wood
40b09c1644SScott Woodconfig PPC_ADDER875
41b09c1644SScott Wood	bool "Analogue & Micro Adder 875"
42b09c1644SScott Wood	select CPM1
43b09c1644SScott Wood	help
44b09c1644SScott Wood	  This enables support for the Analogue & Micro Adder 875
45b09c1644SScott Wood	  board.
46b09c1644SScott Wood
47c4b6a776SHeiko Schocherconfig TQM8XX
48c4b6a776SHeiko Schocher	bool "TQM8XX"
49c4b6a776SHeiko Schocher	select CPM1
50c4b6a776SHeiko Schocher	help
51c4b6a776SHeiko Schocher	  support for the mpc8xx based boards from TQM.
52c4b6a776SHeiko Schocher
53df34403dSVitaly Bordugendchoice
54df34403dSVitaly Bordug
55df34403dSVitaly Bordugmenu "Freescale Ethernet driver platform-specific options"
56df34403dSVitaly Bordug	depends on (FS_ENET && MPC885ADS)
57df34403dSVitaly Bordug
58df34403dSVitaly Bordug	config MPC8xx_SECOND_ETH
59df34403dSVitaly Bordug	bool "Second Ethernet channel"
60df34403dSVitaly Bordug	depends on MPC885ADS
61df34403dSVitaly Bordug	default y
6214cf11afSPaul Mackerras	help
63df34403dSVitaly Bordug	  This enables support for second Ethernet on MPC885ADS and MPC86xADS boards.
64df34403dSVitaly Bordug	  The latter will use SCC1, for 885ADS you can select it below.
6514cf11afSPaul Mackerras
66df34403dSVitaly Bordug	choice
67df34403dSVitaly Bordug		prompt "Second Ethernet channel"
68df34403dSVitaly Bordug		depends on MPC8xx_SECOND_ETH
69df34403dSVitaly Bordug		default MPC8xx_SECOND_ETH_FEC2
70df34403dSVitaly Bordug
71df34403dSVitaly Bordug		config MPC8xx_SECOND_ETH_FEC2
72df34403dSVitaly Bordug		bool "FEC2"
73df34403dSVitaly Bordug		depends on MPC885ADS
7414cf11afSPaul Mackerras		help
75df34403dSVitaly Bordug		  Enable FEC2 to serve as 2-nd Ethernet channel. Note that SMC2
76df34403dSVitaly Bordug		  (often 2-nd UART) will not work if this is enabled.
7714cf11afSPaul Mackerras
78df34403dSVitaly Bordug		config MPC8xx_SECOND_ETH_SCC3
79df34403dSVitaly Bordug		bool "SCC3"
80df34403dSVitaly Bordug		depends on MPC885ADS
8114cf11afSPaul Mackerras		help
82df34403dSVitaly Bordug		  Enable SCC3 to serve as 2-nd Ethernet channel. Note that SMC1
83df34403dSVitaly Bordug		  (often 1-nd UART) will not work if this is enabled.
8414cf11afSPaul Mackerras
8514cf11afSPaul Mackerras	endchoice
8614cf11afSPaul Mackerras
87df34403dSVitaly Bordugendmenu
88df34403dSVitaly Bordug
8914cf11afSPaul Mackerras#
9014cf11afSPaul Mackerras# MPC8xx Communication options
9114cf11afSPaul Mackerras#
9214cf11afSPaul Mackerras
9314cf11afSPaul Mackerrasmenu "MPC8xx CPM Options"
94*ab2675d6SChristophe Leroy	depends on PPC_8xx
9514cf11afSPaul Mackerras
9614cf11afSPaul Mackerras# This doesn't really belong here, but it is convenient to ask
9714cf11afSPaul Mackerras# 8xx specific questions.
9814cf11afSPaul Mackerrascomment "Generic MPC8xx Options"
9914cf11afSPaul Mackerras
10014cf11afSPaul Mackerrasconfig 8xx_COPYBACK
10114cf11afSPaul Mackerras	bool "Copy-Back Data Cache (else Writethrough)"
10214cf11afSPaul Mackerras	help
10314cf11afSPaul Mackerras	  Saying Y here will cause the cache on an MPC8xx processor to be used
10414cf11afSPaul Mackerras	  in Copy-Back mode.  If you say N here, it is used in Writethrough
10514cf11afSPaul Mackerras	  mode.
10614cf11afSPaul Mackerras
10714cf11afSPaul Mackerras	  If in doubt, say Y here.
10814cf11afSPaul Mackerras
109dc2380ecSJochen Friedrichconfig 8xx_GPIO
110dc2380ecSJochen Friedrich	bool "GPIO API Support"
11186c55af4SLinus Walleij	select GPIOLIB
112dc2380ecSJochen Friedrich	help
113dc2380ecSJochen Friedrich	  Saying Y here will cause the ports on an MPC8xx processor to be used
114dc2380ecSJochen Friedrich	  with the GPIO API.  If you say N here, the kernel needs less memory.
115dc2380ecSJochen Friedrich
116dc2380ecSJochen Friedrich	  If in doubt, say Y here.
117dc2380ecSJochen Friedrich
11814cf11afSPaul Mackerrasconfig 8xx_CPU6
11914cf11afSPaul Mackerras	bool "CPU6 Silicon Errata (860 Pre Rev. C)"
12014cf11afSPaul Mackerras	help
12114cf11afSPaul Mackerras	  MPC860 CPUs, prior to Rev C have some bugs in the silicon, which
12214cf11afSPaul Mackerras	  require workarounds for Linux (and most other OSes to work).  If you
12314cf11afSPaul Mackerras	  get a BUG() very early in boot, this might fix the problem.  For
12414cf11afSPaul Mackerras	  more details read the document entitled "MPC860 Family Device Errata
125c8a55f3dSKumar Gala	  Reference" on Freescale's website.  This option also incurs a
12614cf11afSPaul Mackerras	  performance hit.
12714cf11afSPaul Mackerras
12814cf11afSPaul Mackerras	  If in doubt, say N here.
12914cf11afSPaul Mackerras
13074016852SScott Woodconfig 8xx_CPU15
13174016852SScott Wood	bool "CPU15 Silicon Errata"
1324b914286SChristophe Leroy	depends on !HUGETLB_PAGE
13374016852SScott Wood	default y
13474016852SScott Wood	help
13574016852SScott Wood	  This enables a workaround for erratum CPU15 on MPC8xx chips.
13674016852SScott Wood	  This bug can cause incorrect code execution under certain
13774016852SScott Wood	  circumstances.  This workaround adds some overhead (a TLB miss
13874016852SScott Wood	  every time execution crosses a page boundary), and you may wish
13974016852SScott Wood	  to disable it if you have worked around the bug in the compiler
14074016852SScott Wood	  (by not placing conditional branches or branches to LR or CTR
14174016852SScott Wood	  in the last word of a page, with a target of the last cache
14274016852SScott Wood	  line in the next page), or if you have used some other
14374016852SScott Wood	  workaround.
14474016852SScott Wood
14574016852SScott Wood	  If in doubt, say Y here.
14674016852SScott Wood
14714cf11afSPaul Mackerraschoice
14814cf11afSPaul Mackerras	prompt "Microcode patch selection"
14914cf11afSPaul Mackerras	default NO_UCODE_PATCH
15014cf11afSPaul Mackerras	help
15114cf11afSPaul Mackerras	  Help not implemented yet, coming soon.
15214cf11afSPaul Mackerras
15314cf11afSPaul Mackerrasconfig NO_UCODE_PATCH
15414cf11afSPaul Mackerras	bool "None"
15514cf11afSPaul Mackerras
15614cf11afSPaul Mackerrasconfig USB_SOF_UCODE_PATCH
15714cf11afSPaul Mackerras	bool "USB SOF patch"
15814cf11afSPaul Mackerras	help
15914cf11afSPaul Mackerras	  Help not implemented yet, coming soon.
16014cf11afSPaul Mackerras
16114cf11afSPaul Mackerrasconfig I2C_SPI_UCODE_PATCH
16214cf11afSPaul Mackerras	bool "I2C/SPI relocation patch"
16314cf11afSPaul Mackerras	help
16414cf11afSPaul Mackerras	  Help not implemented yet, coming soon.
16514cf11afSPaul Mackerras
16614cf11afSPaul Mackerrasconfig I2C_SPI_SMC1_UCODE_PATCH
16714cf11afSPaul Mackerras	bool "I2C/SPI/SMC1 relocation patch"
16814cf11afSPaul Mackerras	help
16914cf11afSPaul Mackerras	  Help not implemented yet, coming soon.
17014cf11afSPaul Mackerras
17114cf11afSPaul Mackerrasendchoice
17214cf11afSPaul Mackerras
17314cf11afSPaul Mackerrasconfig UCODE_PATCH
17414cf11afSPaul Mackerras	bool
17514cf11afSPaul Mackerras	default y
17614cf11afSPaul Mackerras	depends on !NO_UCODE_PATCH
17714cf11afSPaul Mackerras
17814cf11afSPaul Mackerrasendmenu
179