[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: Geert Uytterhoeven <Geert.Uytterhoeven@sonycom.com>
Acked-by: Geoff Levand <geoffrey.levand@am.sony.com>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Roman Zippel <zippel@linux-m68k.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by

Geert Uytterhoeven and committed by
Linus Torvalds
3f555c70 8a2bfdcb

+22 -9
+21 -7
arch/powerpc/platforms/ps3/Kconfig
··· 1 menu "PS3 Platform Options" 2 depends on PPC_PS3 3 4 config PS3_HTAB_SIZE 5 depends on PPC_PS3 6 - int "PS3 Platform pagetable size" 7 range 18 20 8 default 20 9 help ··· 57 58 config PS3_VUART 59 depends on PPC_PS3 60 - bool "PS3 Virtual UART support" 61 default y 62 help 63 Include support for the PS3 Virtual UART. ··· 67 general, all users will say Y. 68 69 config PS3_PS3AV 70 - tristate "PS3 AV settings driver" 71 - depends on PPC_PS3 72 - select PS3_VUART 73 default y 74 help 75 Include support for the PS3 AV Settings driver. ··· 77 general, all users will say Y or M. 78 79 config PS3_SYS_MANAGER 80 - bool "PS3 System Manager driver" 81 - select PS3_VUART 82 default y 83 help 84 Include support for the PS3 System Manager.
··· 1 menu "PS3 Platform Options" 2 depends on PPC_PS3 3 4 + config PS3_ADVANCED 5 + depends on PPC_PS3 6 + bool "PS3 Advanced configuration options" 7 + help 8 + This gives you access to some advanced options for the PS3. The 9 + defaults should be fine for most users, but these options may make 10 + it possible to better control the kernel configuration if you know 11 + what you are doing. 12 + 13 + Note that the answer to this question won't directly affect the 14 + kernel: saying N will just cause the configurator to skip all 15 + the questions about these options. 16 + 17 + Most users should say N to this question. 18 + 19 config PS3_HTAB_SIZE 20 depends on PPC_PS3 21 + int "PS3 Platform pagetable size" if PS3_ADVANCED 22 range 18 20 23 default 20 24 help ··· 42 43 config PS3_VUART 44 depends on PPC_PS3 45 + bool "PS3 Virtual UART support" if PS3_ADVANCED 46 default y 47 help 48 Include support for the PS3 Virtual UART. ··· 52 general, all users will say Y. 53 54 config PS3_PS3AV 55 + tristate "PS3 AV settings driver" if PS3_ADVANCED 56 + depends on PS3_VUART 57 default y 58 help 59 Include support for the PS3 AV Settings driver. ··· 63 general, all users will say Y or M. 64 65 config PS3_SYS_MANAGER 66 + bool "PS3 System Manager driver" if PS3_ADVANCED 67 + depends on PS3_VUART 68 default y 69 help 70 Include support for the PS3 System Manager.
+1 -2
drivers/video/Kconfig
··· 1618 1619 config FB_PS3 1620 bool "PS3 GPU framebuffer driver" 1621 - depends on FB && PPC_PS3 1622 - select PS3_PS3AV 1623 select FB_CFB_FILLRECT 1624 select FB_CFB_COPYAREA 1625 select FB_CFB_IMAGEBLIT
··· 1618 1619 config FB_PS3 1620 bool "PS3 GPU framebuffer driver" 1621 + depends on FB && PS3_PS3AV 1622 select FB_CFB_FILLRECT 1623 select FB_CFB_COPYAREA 1624 select FB_CFB_IMAGEBLIT