drivers: use "menuconfig" consistently for all selections.
Subsystems (4)
PATCH 1/1 drivers: use "menuconfig" consistently for all selections.
Use the "menuconfig" directive to make all top-level driver choices 1-touch selectable, and standardize the menuconfig names.
---
as you can see, this is just a cleanup to use "menuconfig" for all
of the drivers submenus. feel free to test this to make sure i didn't break anything, or suggest different defaults for any of those choices.
this takes care of just the "drivers" submenu. if there are no
objections, i'd like to do this elsewhere where it makes sense.
drivers/i2c/Kconfig +2 -2
@@ -1,7 +1,7 @@ -menuconfig I2C +menuconfig I2C_DRIVERS bool "I2C drivers " -if I2C +if I2C_DRIVERS config DRIVER_I2C_IMX bool "i.MX I2C Master driver"
drivers/nand/Kconfig +2 -2
@@ -1,4 +1,4 @@ -menuconfig NAND +menuconfig NAND_DRIVERS bool "NAND support " select MTD_NAND_IDS help
@@ -6,7 +6,7 @@ menuconfig NAND devices. For further information see <http://www.linux-mtd.infradead.org/doc/nand.html>. -if NAND +if NAND_DRIVERS config NAND_IMX bool
drivers/nor/Kconfig +6 -3
@@ -1,8 +1,11 @@ -menu "flash drivers " - config HAS_CFI bool +menuconfig FLASH_DRIVERS + bool "flash drivers " + +if FLASH_DRIVERS + config DRIVER_CFI bool "cfi flash driver" help
@@ -71,4 +74,4 @@ config CFI_BUFFER_WRITE bool "use cfi driver with buffer write" depends on DRIVER_CFI || DRIVER_CFI_NEW -endmenu +endif
drivers/serial/Kconfig +5 -2
@@ -1,4 +1,7 @@ -menu "serial drivers " +menuconfig SERIAL_DRIVERS + bool "Serial drivers " + +if SERIAL_DRIVERS config DRIVER_SERIAL_ARM_DCC depends on ARM
@@ -61,4 +64,4 @@ config DRIVER_SERIAL_S3C24X0_AUTOSYNC Say Y here if you want to use the auto flow feature of this UART. RTS and CTS will be handled by the hardware when enabled. -endmenu +endif
drivers/spi/Kconfig +5 -7
@@ -1,16 +1,14 @@ -menu "SPI drivers " - -config SPI - bool "Enable SPI driver support" +menuconfig SPI_DRIVERS + bool "SPI drivers " default y +if SPI_DRIVERS + config DRIVER_SPI_IMX bool "i.MX SPI Master driver" depends on ARCH_IMX - depends on SPI config DRIVER_SPI_MC13783 bool "MC13783 a.k.a. PMIC driver" - depends on SPI -endmenu +endif
drivers/usb/Kconfig +2 -2
@@ -1,7 +1,7 @@ -menuconfig USB +menuconfig USB_DRIVERS bool "USB support " -if USB +if USB_DRIVERS config USB_EHCI bool "EHCI driver"
drivers/video/Kconfig +2 -2
@@ -1,9 +1,9 @@ -menuconfig VIDEO +menuconfig VIDEO_DRIVERS bool "Video drivers " help Add support for framebuffer and splash screens -if VIDEO +if VIDEO_DRIVERS config DRIVER_VIDEO_IMX bool "i.MX framebuffer driver"
rday
--
========================================================================
Robert P. J. Day Waterloo, Ontario, CANADA
Linux Consulting, Training and Kernel Pedantry.
Web page: http://crashcourse.ca Twitter: http://twitter.com/rpjday
========================================================================
_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
Quoted 2 lines · Robert P. J. Day
Use the "menuconfig" directive to make all top-level driver choices 1-touch selectable, and standardize the menuconfig names.
If you change the symbol names you have to change the Makefiles, too.
Have a look at drivers/Makefile and drivers/*/Makefile
cheers, Marc
Signature · 4 lines
Pengutronix e.K. | Marc Kleine-Budde | Linux Solutions for Science and Industry | Phone: +49-231-2826-924 | Vertretung West/Dortmund | Fax: +49-5121-206917-5555 | Amtsgericht Hildesheim, HRA 2686 | http://www.pengutronix.de |
_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
Quoted 7 lines · Marc Kleine-Budde
Quoted 2 lines · Robert P. J. Day
Use the "menuconfig" directive to make all top-level driver choices 1-touch selectable, and standardize the menuconfig names.
If you change the symbol names you have to change the Makefiles, too.
Have a look at
drivers/Makefileanddrivers/*/Makefile
oh, cr*p, of course, i missed that totally. my bad.
rday
--
========================================================================
Robert P. J. Day Waterloo, Ontario, CANADA
Linux Consulting, Training and Kernel Pedantry.
Web page: http://crashcourse.ca Twitter: http://twitter.com/rpjday
========================================================================
_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox