Skip to contentSkip to conversation

status_led: Kconfig migration - introduction

PATCH New Uri Mashiach 2 participants 2 messages Jan 19, 2017 – Jan 21, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 status_led: Kconfig migration - introduction

Move all of the status LED feature to drivers/led/Kconfig. doc/README.LED updated to reflect the Kconfig implementation.

Tested boards: CL-SOM-AM57x, CM-T335

---
 README              |   8 +-
 doc/README.LED      |  58 +++++-----
 drivers/led/Kconfig | 323 +++++++++++++++++++++++++++++++++++++++++++++++++++-
 3 files changed, 355 insertions(+), 34 deletions(-)
README +4 -4
index 7e0dd35..a95348a 100644
@@ -2033,7 +2033,7 @@ The following options need to be configured:
 
 		A byte containing the id of the VLAN.
 
-- Status LED:	CONFIG_STATUS_LED
+- Status LED:	CONFIG_LED_STATUS
 
 		Several configurations allow to display the current
 		status using a LED. For instance, the LED will blink
@@ -2041,15 +2041,15 @@ The following options need to be configured:
 		soon as a reply to a BOOTP request was received, and
 		start blinking slow once the Linux kernel is running
 		(supported by a status LED driver in the Linux
-		kernel). Defining CONFIG_STATUS_LED enables this
+		kernel). Defining CONFIG_LED_STATUS enables this
 		feature in U-Boot.
 
 		Additional options:
 
-		CONFIG_GPIO_LED
+		CONFIG_LED_STATUS_GPIO
 		The status LED can be connected to a GPIO pin.
 		In such cases, the gpio_led driver can be used as a
-		status LED backend implementation. Define CONFIG_GPIO_LED
+		status LED backend implementation. Define CONFIG_LED_STATUS_GPIO
 		to include the gpio_led driver in the U-Boot binary.
 
 		CONFIG_GPIO_LED_INVERTED_TABLE
doc/README.LED +29 -29

77 lines not on this page · raw message

drivers/led/Kconfig +322 -1

333 lines not on this page · raw message

Signature · 1 line
2.7.4
#1 lore raw

PATCH 1/2 status_led: Kconfig migration - introduction

Quoted 6 lines · Uri Mashiach

Move all of the status LED feature to drivers/led/Kconfig. doc/README.LED updated to reflect the Kconfig implementation.

Tested boards: CL-SOM-AM57x, CM-T335

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170121/ca44321d/attachment.sig>