xref: /linux/arch/powerpc/platforms/ps3/Kconfig (revision 9aea8cbf2866c5680e30ff473341b7c5e93f7442)
1config PPC_PS3
2	bool "Sony PS3 (incomplete)"
3	depends on PPC_MULTIPLATFORM && PPC64
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 MEMORY_HOTPLUG
11	help
12	  This option enables support for the Sony PS3 game console
13	  and other platforms using the PS3 hypervisor.
14	  Support for this platform is not yet complete, so
15	  enabling this will not result in a bootable kernel on a
16	  PS3 system.
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 && EXPERIMENTAL
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_USE_LPAR_ADDR
65	depends on PPC_PS3 && EXPERIMENTAL
66	bool "PS3 use lpar address space"
67	default y
68	help
69	  This option is solely for experimentation by experts.  Disables
70	  translation of lpar addresses.  SPE support currently won't work
71	  without this set to y.
72
73	  If you have any doubt, choose the default y.
74
75config PS3_VUART
76	depends on PPC_PS3
77	tristate
78
79config PS3_PS3AV
80	depends on PPC_PS3
81	tristate "PS3 AV settings driver" if PS3_ADVANCED
82	select PS3_VUART
83	default y
84	help
85	  Include support for the PS3 AV Settings driver.
86
87	  This support is required for graphics and sound. In
88	  general, all users will say Y or M.
89
90config PS3_SYS_MANAGER
91	depends on PPC_PS3
92	tristate "PS3 System Manager driver" if PS3_ADVANCED
93	select PS3_VUART
94	default m
95	help
96	  Include support for the PS3 System Manager.
97
98	  This support is required for system control.  In
99	  general, all users will say Y or M.
100
101config PS3_STORAGE
102	depends on PPC_PS3
103	tristate
104
105config PS3_DISK
106	tristate "PS3 Disk Storage Driver"
107	depends on PPC_PS3 && BLOCK
108	select PS3_STORAGE
109	help
110	  Include support for the PS3 Disk Storage.
111
112	  This support is required to access the PS3 hard disk.
113	  In general, all users will say Y or M.
114
115config PS3_ROM
116	tristate "PS3 BD/DVD/CD-ROM Storage Driver"
117	depends on PPC_PS3 && SCSI
118	select PS3_STORAGE
119	help
120	  Include support for the PS3 ROM Storage.
121
122	  This support is required to access the PS3 BD/DVD/CD-ROM drive.
123	  In general, all users will say Y or M.
124	  Also make sure to say Y or M to "SCSI CDROM support" later.
125
126endmenu
127