Skip to contentSkip to conversation

drivers: kconfig: Move "Generic Driver Options" menu to the top

PATCH New Bin Meng 2 participants 9 messages Aug 21, 2015 – Aug 26, 2015

lore
Share & tools
lore

Bin Meng

author
#0 lore raw

PATCH 1/3 drivers: kconfig: Move "Generic Driver Options" menu to the top

Make "Generic Driver Options" menu show on the top in the Kconfig.

---

 drivers/Kconfig | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/Kconfig +2 -2
index 092bc02..b25c59c 100644
@@ -1,9 +1,9 @@
 menu "Device Drivers"
 
-source "drivers/clk/Kconfig"
-
 source "drivers/core/Kconfig"
 
+source "drivers/clk/Kconfig"
+
 source "drivers/cpu/Kconfig"
 
 source "drivers/demo/Kconfig"
Signature · 1 line
1.8.2.1
author
#1 lore raw

PATCH 2/3 drivers: kconfig: Move PHYS_TO_BUS to "Device Drivers" menu

Right now PHYS_TO_BUS shows in the Kconfig main menu, move it.

---

 drivers/Kconfig | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/Kconfig +2 -2
index b25c59c..9d0df9b 100644
@@ -60,8 +60,6 @@ source "drivers/crypto/Kconfig"
 
 source "drivers/thermal/Kconfig"
 
-endmenu
-
 config PHYS_TO_BUS
 	bool "Custom physical to bus address mapping"
 	help
@@ -69,3 +67,5 @@ config PHYS_TO_BUS
 	  peripheral DMA master accesses. If yours does, select this option in
 	  your platform's Kconfig, and implement the appropriate mapping
 	  functions in your platform's support code.
+
+endmenu
Signature · 1 line
1.8.2.1
#3 lore raw

PATCH 2/3 drivers: kconfig: Move PHYS_TO_BUS to "Device Drivers" menu

Quoted 10 lines · Simon Glass
Quoted 7 lines · Bin Meng

Right now PHYS_TO_BUS shows in the Kconfig main menu, move it.

---

 drivers/Kconfig | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Applied to u-boot-dm, thanks!

author
#4 lore raw

PATCH 3/3 drivers: kconfig: Sort driver menu in alphabetical order

In reply to Bin Meng

Sort different types of drivers in alphabetical order.

---

 drivers/Kconfig | 50 ++++++++++++++++++++++++++------------------------
 1 file changed, 26 insertions(+), 24 deletions(-)
drivers/Kconfig +26 -24
index 9d0df9b..524d73e 100644
@@ -2,63 +2,65 @@ menu "Device Drivers"
 
 source "drivers/core/Kconfig"
 
+# types of drivers sorted in alphabetical order
+
+source "drivers/block/Kconfig"
+
 source "drivers/clk/Kconfig"
 
 source "drivers/cpu/Kconfig"
 
-source "drivers/demo/Kconfig"
+source "drivers/crypto/Kconfig"
 
-source "drivers/pci/Kconfig"
+source "drivers/demo/Kconfig"
 
-source "drivers/pcmcia/Kconfig"
+source "drivers/dfu/Kconfig"
 
-source "drivers/mtd/Kconfig"
+source "drivers/dma/Kconfig"
 
-source "drivers/block/Kconfig"
+source "drivers/gpio/Kconfig"
 
-source "drivers/misc/Kconfig"
+source "drivers/hwmon/Kconfig"
 
-source "drivers/net/Kconfig"
+source "drivers/i2c/Kconfig"
 
 source "drivers/input/Kconfig"
 
 source "drivers/led/Kconfig"
 
-source "drivers/serial/Kconfig"
+source "drivers/misc/Kconfig"
 
-source "drivers/tpm/Kconfig"
+source "drivers/mmc/Kconfig"
 
-source "drivers/i2c/Kconfig"
+source "drivers/mtd/Kconfig"
 
-source "drivers/spi/Kconfig"
+source "drivers/net/Kconfig"
 
-source "drivers/gpio/Kconfig"
+source "drivers/pci/Kconfig"
+
+source "drivers/pcmcia/Kconfig"
 
 source "drivers/power/Kconfig"
 
 source "drivers/ram/Kconfig"
 
-source "drivers/hwmon/Kconfig"
-
-source "drivers/watchdog/Kconfig"
+source "drivers/rtc/Kconfig"
 
-source "drivers/video/Kconfig"
+source "drivers/serial/Kconfig"
 
 source "drivers/sound/Kconfig"
 
-source "drivers/usb/Kconfig"
-
-source "drivers/dfu/Kconfig"
+source "drivers/spi/Kconfig"
 
-source "drivers/mmc/Kconfig"
+source "drivers/thermal/Kconfig"
 
-source "drivers/rtc/Kconfig"
+source "drivers/tpm/Kconfig"
 
-source "drivers/dma/Kconfig"
+source "drivers/usb/Kconfig"
 
-source "drivers/crypto/Kconfig"
+source "drivers/video/Kconfig"
 
-source "drivers/thermal/Kconfig"
+source "drivers/watchdog/Kconfig"
 
 config PHYS_TO_BUS
 	bool "Custom physical to bus address mapping"
Signature · 1 line
1.8.2.1
#6 lore raw

PATCH 3/3 drivers: kconfig: Sort driver menu in alphabetical order

Quoted 10 lines · Simon Glass
Quoted 7 lines · Bin Meng

Sort different types of drivers in alphabetical order.

---

 drivers/Kconfig | 50 ++++++++++++++++++++++++++------------------------
 1 file changed, 26 insertions(+), 24 deletions(-)

Applied to u-boot-dm, thanks!

#8 lore raw

PATCH 1/3 drivers: kconfig: Move "Generic Driver Options" menu to the top

Quoted 10 lines · Simon Glass
Quoted 7 lines · Bin Meng

Make "Generic Driver Options" menu show on the top in the Kconfig.

---

 drivers/Kconfig | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Applied to u-boot-dm, thanks!