Commit 3f555c70 authored by Geert Uytterhoeven's avatar Geert Uytterhoeven Committed by Linus Torvalds

[PATCH] ps3: introduce CONFIG_PS3_ADVANCED

ps3: Introduce CONFIG_PS3_ADVANCED, as suggested by Roman Zippel, and use
it to control questions about PS3 subsystems that may not be obvious for
the casual user.

This gets rid of the following warning on non-powerpc platforms: |
drivers/video/Kconfig:1604:warning: 'select' used by config symbol 'FB_PS3'
refer to undefined symbol 'PS3_PS3AV'
Signed-off-by: default avatarGeert Uytterhoeven <Geert.Uytterhoeven@sonycom.com>
Acked-by: default avatarGeoff Levand <geoffrey.levand@am.sony.com>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Roman Zippel <zippel@linux-m68k.org>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 8a2bfdcb
menu "PS3 Platform Options" menu "PS3 Platform Options"
depends on PPC_PS3 depends on PPC_PS3
config PS3_ADVANCED
depends on PPC_PS3
bool "PS3 Advanced configuration options"
help
This gives you access to some advanced options for the PS3. The
defaults should be fine for most users, but these options may make
it possible to better control the kernel configuration if you know
what you are doing.
Note that the answer to this question won't directly affect the
kernel: saying N will just cause the configurator to skip all
the questions about these options.
Most users should say N to this question.
config PS3_HTAB_SIZE config PS3_HTAB_SIZE
depends on PPC_PS3 depends on PPC_PS3
int "PS3 Platform pagetable size" int "PS3 Platform pagetable size" if PS3_ADVANCED
range 18 20 range 18 20
default 20 default 20
help help
...@@ -42,7 +57,7 @@ config PS3_USE_LPAR_ADDR ...@@ -42,7 +57,7 @@ config PS3_USE_LPAR_ADDR
config PS3_VUART config PS3_VUART
depends on PPC_PS3 depends on PPC_PS3
bool "PS3 Virtual UART support" bool "PS3 Virtual UART support" if PS3_ADVANCED
default y default y
help help
Include support for the PS3 Virtual UART. Include support for the PS3 Virtual UART.
...@@ -52,9 +67,8 @@ config PS3_VUART ...@@ -52,9 +67,8 @@ config PS3_VUART
general, all users will say Y. general, all users will say Y.
config PS3_PS3AV config PS3_PS3AV
tristate "PS3 AV settings driver" tristate "PS3 AV settings driver" if PS3_ADVANCED
depends on PPC_PS3 depends on PS3_VUART
select PS3_VUART
default y default y
help help
Include support for the PS3 AV Settings driver. Include support for the PS3 AV Settings driver.
...@@ -63,8 +77,8 @@ config PS3_PS3AV ...@@ -63,8 +77,8 @@ config PS3_PS3AV
general, all users will say Y or M. general, all users will say Y or M.
config PS3_SYS_MANAGER config PS3_SYS_MANAGER
bool "PS3 System Manager driver" bool "PS3 System Manager driver" if PS3_ADVANCED
select PS3_VUART depends on PS3_VUART
default y default y
help help
Include support for the PS3 System Manager. Include support for the PS3 System Manager.
......
...@@ -1618,8 +1618,7 @@ config FB_IBM_GXT4500 ...@@ -1618,8 +1618,7 @@ config FB_IBM_GXT4500
config FB_PS3 config FB_PS3
bool "PS3 GPU framebuffer driver" bool "PS3 GPU framebuffer driver"
depends on FB && PPC_PS3 depends on FB && PS3_PS3AV
select PS3_PS3AV
select FB_CFB_FILLRECT select FB_CFB_FILLRECT
select FB_CFB_COPYAREA select FB_CFB_COPYAREA
select FB_CFB_IMAGEBLIT select FB_CFB_IMAGEBLIT
......
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