From 2d8d190c8394b43c0989cdb04a50cb48d4e1f8da Mon Sep 17 00:00:00 2001 From: Uri Mashiach Date: Thu, 19 Jan 2017 10:51:45 +0200 Subject: status_led: Kconfig migration Move all of the status LED feature to drivers/led/Kconfig. The LED status definitions were moved from the board configuration files to the defconfig files. TBD: Move all of the definitions in the include/status_led.h to the relevant board's defconfig files. Tested boards: CL-SOM-AM57x, CM-T335 Signed-off-by: Uri Mashiach --- board/samtec/vining_fpga/socfpga.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'board/samtec') diff --git a/board/samtec/vining_fpga/socfpga.c b/board/samtec/vining_fpga/socfpga.c index f3a92b5..f888ecb 100644 --- a/board/samtec/vining_fpga/socfpga.c +++ b/board/samtec/vining_fpga/socfpga.c @@ -21,8 +21,8 @@ int board_late_init(void) const unsigned int usb_nrst_gpio = 35; int ret; - status_led_set(1, STATUS_LED_ON); - status_led_set(2, STATUS_LED_ON); + status_led_set(1, CONFIG_LED_STATUS_ON); + status_led_set(2, CONFIG_LED_STATUS_ON); /* Address of boot parameters for ATAG (if ATAG is used) */ gd->bd->bi_boot_params = CONFIG_SYS_SDRAM_BASE + 0x100; -- cgit v1.1