aboutsummaryrefslogtreecommitdiffstats
path: root/board/samtec
diff options
context:
space:
mode:
authorUri Mashiach <uri.mashiach@compulab.co.il>2017-01-19 10:51:45 +0200
committerTom Rini <trini@konsulko.com>2017-01-21 15:12:33 -0500
commit2d8d190c8394b43c0989cdb04a50cb48d4e1f8da (patch)
treea19e034f406aba9bfc07e8ef0d4fafc6fa4a04b7 /board/samtec
parent79267edd10fde0815c382157b9cb280166637fac (diff)
downloadu-boot-midas-2d8d190c8394b43c0989cdb04a50cb48d4e1f8da.tar.gz
u-boot-midas-2d8d190c8394b43c0989cdb04a50cb48d4e1f8da.tar.bz2
u-boot-midas-2d8d190c8394b43c0989cdb04a50cb48d4e1f8da.zip
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 <uri.mashiach@compulab.co.il>
Diffstat (limited to 'board/samtec')
-rw-r--r--board/samtec/vining_fpga/socfpga.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/board/samtec/vining_fpga/socfpga.c b/board/samtec/vining_fpga/socfpga.c
index f3a92b5e64..f888ecbbc1 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;