Skip to content

Commit 9679375

Browse files
committed
Turn on the red light and turn off the green light at U-boot for H2/H3
1 parent 5f05ac9 commit 9679375

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

board/sunxi/board.c

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -611,8 +611,11 @@ void sunxi_board_init(void)
611611
int power_failed = 0;
612612

613613
#ifdef CONFIG_MACH_SUN8I_H3
614-
/* turn on power LED (PL10) on H3 boards */
615-
gpio_direction_output(SUNXI_GPL(10), 1);
614+
/* turn off power LED (PL10) on H3 boards */
615+
gpio_direction_output(SUNXI_GPL(10), 0);
616+
617+
gpio_direction_output(SUNXI_GPA(15), 1);
618+
gpio_direction_output(SUNXI_GPA(17), 1);
616619
#endif
617620

618621
#ifdef CONFIG_SY8106A_POWER

0 commit comments

Comments
 (0)