patch: u-boot: Enabled power led on H5 boards

This commit is contained in:
Gunjan Gupta
2023-07-17 14:46:39 +05:30
parent 591379bbb0
commit 5409cb73b2

View File

@@ -6,8 +6,8 @@ index 827e545032..7d343a93b2 100644
status_led_init();
#endif
+#ifdef CONFIG_MACH_SUN8I_H3
+ /* turn on power LED (PL10) on H3 boards */
+#ifdef CONFIG_MACH_SUNXI_H3_H5
+ /* turn on power LED (PL10) on H3 and H5 boards */
+ gpio_direction_output(SUNXI_GPL(10), 1);
+#endif
+