[PATCH 7/8] pg-wcom-ls102x: initialize front led and app buf

Aleksandar Gerasimovski aleksandar.gerasimovski at hitachi-powergrids.com
Tue Jun 8 16:24:32 CEST 2021


This patch adds the front led initialization and the application
buffer enable to the eraly board inititlaization.

Signed-off-by: Rainer Boschung <rainer.boschung at hitachi-powergrids.com>
Signed-off-by: Aleksandar Gerasimovski <aleksandar.gerasimovski at hitachi-powergrids.com>
---
 board/keymile/pg-wcom-ls102xa/pg-wcom-ls102xa.c | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/board/keymile/pg-wcom-ls102xa/pg-wcom-ls102xa.c b/board/keymile/pg-wcom-ls102xa/pg-wcom-ls102xa.c
index 97915f9..db49e8f 100644
--- a/board/keymile/pg-wcom-ls102xa/pg-wcom-ls102xa.c
+++ b/board/keymile/pg-wcom-ls102xa/pg-wcom-ls102xa.c
@@ -96,6 +96,12 @@ int board_early_init_f(void)
 
 	i2c_deblock_gpio_cfg();
 
+	/* enable the Unit LED (red) & Boot LED (on) */
+	qrio_set_leds();
+
+	/* enable Application Buffer */
+	qrio_enable_app_buffer();
+
 	arch_soc_init();
 
 	return 0;
-- 
1.8.3.1


More information about the U-Boot mailing list