Skip to content

Commit a3300ab

Browse files
committed
Turn on the red light and turn off the green light at U-boot for H5
1 parent 300f9af commit a3300ab

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

board/sunxi/board.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -610,12 +610,13 @@ void sunxi_board_init(void)
610610
{
611611
int power_failed = 0;
612612

613-
#ifdef CONFIG_MACH_SUN8I_H3
613+
#if defined(CONFIG_MACH_SUN8I_H3) || defined(CONFIG_MACH_SUN50I_H5)
614614
/* turn off power LED (PL10) on H3 boards */
615615
gpio_direction_output(SUNXI_GPL(10), 0);
616616

617617
gpio_direction_output(SUNXI_GPA(15), 1);
618618
gpio_direction_output(SUNXI_GPA(17), 1);
619+
gpio_direction_output(SUNXI_GPA(20), 1);
619620
#endif
620621

621622
#ifdef CONFIG_SY8106A_POWER

0 commit comments

Comments
 (0)