Skip to content

Commit c1ab727

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

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

board/sunxi/board.c

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

613+
#if defined(CONFIG_MACH_SUN50I_H6)
614+
gpio_direction_output(SUNXI_GPL(4), 1);
615+
gpio_direction_output(SUNXI_GPL(7), 0);
616+
#endif
617+
613618
#if defined(CONFIG_MACH_SUN8I_H3) || defined(CONFIG_MACH_SUN50I_H5)
614619
/* turn off power LED (PL10) on H3 boards */
615620
gpio_direction_output(SUNXI_GPL(10), 0);

0 commit comments

Comments
 (0)