diff options
author | Simon Glass <sjg@chromium.org> | 2015-06-23 15:38:45 -0600 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2015-07-21 17:39:24 -0600 |
commit | 5917112c9e9f7a60062c604b3224bd5713c41f46 (patch) | |
tree | 71c53336a056df66ac8ac1b1874f1c60f0d82a0a /scripts | |
parent | 5725128507eca41bb110d702858ca2c8d7dc4085 (diff) | |
download | u-boot-imx-5917112c9e9f7a60062c604b3224bd5713c41f46.zip u-boot-imx-5917112c9e9f7a60062c604b3224bd5713c41f46.tar.gz u-boot-imx-5917112c9e9f7a60062c604b3224bd5713c41f46.tar.bz2 |
dm: Add support for LEDs
Add a simple uclass for LEDs, so that these can be controlled by the device
tree and activated when needed. LEDs are referred to by their label.
This implementation requires a driver for each type of LED (e.g GPIO, I2C).
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/Makefile.spl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/Makefile.spl b/scripts/Makefile.spl index bcc7ca2..6b32618 100644 --- a/scripts/Makefile.spl +++ b/scripts/Makefile.spl @@ -64,6 +64,7 @@ libs-$(CONFIG_SPL_SERIAL_SUPPORT) += drivers/serial/ libs-$(CONFIG_SPL_SPI_FLASH_SUPPORT) += drivers/mtd/spi/ libs-$(CONFIG_SPL_SPI_SUPPORT) += drivers/spi/ libs-y += fs/ +libs-$(CONFIG_SPL_LED_SUPPORT) += drivers/led/ libs-$(CONFIG_SPL_LIBGENERIC_SUPPORT) += lib/ libs-$(CONFIG_SPL_POWER_SUPPORT) += drivers/power/ drivers/power/pmic/ libs-$(CONFIG_SPL_MTD_SUPPORT) += drivers/mtd/ |