xref: /openbmc/linux/arch/powerpc/platforms/ps3/Kconfig (revision 12eb4683)
1config PPC_PS3
2	bool "Sony PS3"
3	depends on PPC64 && PPC_BOOK3S
4	select PPC_CELL
5	select USB_ARCH_HAS_OHCI
6	select USB_OHCI_LITTLE_ENDIAN
7	select USB_OHCI_BIG_ENDIAN_MMIO
8	select USB_ARCH_HAS_EHCI
9	select USB_EHCI_BIG_ENDIAN_MMIO
10	select PPC_PCI_CHOICE
11	help
12	  This option enables support for the Sony PS3 game console
13	  and other platforms using the PS3 hypervisor.  Enabling this
14	  option will allow building otheros.bld, a kernel image suitable
15	  for programming into flash memory, and vmlinux, a kernel image
16	  suitable for loading via kexec.
17
18menu "PS3 Platform Options"
19	depends on PPC_PS3
20
21config PS3_ADVANCED
22	depends on PPC_PS3
23	bool "PS3 Advanced configuration options"
24	help
25	  This gives you access to some advanced options for the PS3. The
26	  defaults should be fine for most users, but these options may make
27	  it possible to better control the kernel configuration if you know
28	  what you are doing.
29
30	  Note that the answer to this question won't directly affect the
31	  kernel: saying N will just cause the configurator to skip all
32	  the questions about these options.
33
34	  Most users should say N to this question.
35
36config PS3_HTAB_SIZE
37	depends on PPC_PS3
38	int "PS3 Platform pagetable size" if PS3_ADVANCED
39	range 18 20
40	default 20
41	help
42	  This option is only for experts who may have the desire to fine
43	  tune the pagetable size on their system.  The value here is
44	  expressed as the log2 of the page table size.  Valid values are
45	  18, 19, and 20, corresponding to 256KB, 512KB and 1MB respectively.
46
47	  If unsure, choose the default (20) with the confidence that your
48	  system will have optimal runtime performance.
49
50config PS3_DYNAMIC_DMA
51	depends on PPC_PS3
52	bool "PS3 Platform dynamic DMA page table management"
53	default n
54	help
55	  This option will enable kernel support to take advantage of the
56	  per device dynamic DMA page table management provided by the Cell
57	  processor's IO Controller.  This support incurs some runtime
58	  overhead and also slightly increases kernel memory usage.  The
59	  current implementation should be considered experimental.
60
61	  This support is mainly for Linux kernel development.  If unsure,
62	  say N.
63
64config PS3_VUART
65	depends on PPC_PS3
66	tristate
67
68config PS3_PS3AV
69	depends on PPC_PS3
70	tristate "PS3 AV settings driver" if PS3_ADVANCED
71	select PS3_VUART
72	default y
73	help
74	  Include support for the PS3 AV Settings driver.
75
76	  This support is required for PS3 graphics and sound. In
77	  general, all users will say Y or M.
78
79config PS3_SYS_MANAGER
80	depends on PPC_PS3
81	tristate "PS3 System Manager driver" if PS3_ADVANCED
82	select PS3_VUART
83	default y
84	help
85	  Include support for the PS3 System Manager.
86
87	  This support is required for PS3 system control.  In
88	  general, all users will say Y or M.
89
90config PS3_REPOSITORY_WRITE
91	bool "PS3 Repository write support" if PS3_ADVANCED
92	depends on PPC_PS3
93	default n
94	help
95	  Enables support for writing to the PS3 System Repository.
96
97	  This support is intended for bootloaders that need to store data
98	  in the repository for later boot stages.
99
100	  If in doubt, say N here and reduce the size of the kernel by a
101	  small amount.
102
103config PS3_STORAGE
104	depends on PPC_PS3
105	tristate
106
107config PS3_DISK
108	tristate "PS3 Disk Storage Driver"
109	depends on PPC_PS3 && BLOCK
110	select PS3_STORAGE
111	help
112	  Include support for the PS3 Disk Storage.
113
114	  This support is required to access the PS3 hard disk.
115	  In general, all users will say Y or M.
116
117config PS3_ROM
118	tristate "PS3 BD/DVD/CD-ROM Storage Driver"
119	depends on PPC_PS3 && SCSI
120	select PS3_STORAGE
121	help
122	  Include support for the PS3 ROM Storage.
123
124	  This support is required to access the PS3 BD/DVD/CD-ROM drive.
125	  In general, all users will say Y or M.
126	  Also make sure to say Y or M to "SCSI CDROM support" later.
127
128config PS3_FLASH
129	tristate "PS3 FLASH ROM Storage Driver"
130	depends on PPC_PS3
131	select PS3_STORAGE
132	help
133	  Include support for the PS3 FLASH ROM Storage.
134
135	  This support is required to access the PS3 FLASH ROM, which
136	  contains the boot loader and some boot options.
137	  In general, PS3 OtherOS users will say Y or M.
138
139	  As this driver needs a fixed buffer of 256 KiB of memory, it can
140	  be disabled on the kernel command line using "ps3flash=off", to
141	  not allocate this fixed buffer.
142
143config PS3_VRAM
144	tristate "PS3 Video RAM Storage Driver"
145	depends on FB_PS3=y && BLOCK && m
146	help
147	  This driver allows you to use excess PS3 video RAM as volatile
148	  storage or system swap.
149
150config PS3_LPM
151	tristate "PS3 Logical Performance Monitor support"
152	depends on PPC_PS3
153	help
154	  Include support for the PS3 Logical Performance Monitor.
155
156	  This support is required to use the logical performance monitor
157	  of the PS3's LV1 hypervisor.
158
159	  If you intend to use the advanced performance monitoring and
160	  profiling support of the Cell processor with programs like
161	  oprofile and perfmon2, then say Y or M, otherwise say N.
162
163config PS3GELIC_UDBG
164	bool "PS3 udbg output via UDP broadcasts on Ethernet"
165	depends on PPC_PS3
166	help
167	  Enables udbg early debugging output by sending broadcast UDP
168	  via the Ethernet port (UDP port number 18194).
169
170	  This driver uses a trivial implementation and is independent
171	  from the main PS3 gelic network driver.
172
173	  If in doubt, say N here.
174
175endmenu
176