board: ecovec: fix debug LEDs pin direction

All pins should be output.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
master
Baruch Siach 11 years ago committed by Nobuhiro Iwamatsu
parent 0b2da7e209
commit f09d04aec3
  1. 2
      board/renesas/ecovec/ecovec.c

@ -76,7 +76,7 @@ int board_init(void)
{
/* LED (PTG) */
outw((inw(PGCR) & ~0xFF) | 0x66, PGCR);
outw((inw(PGCR) & ~0xFF) | 0x55, PGCR);
outw((inw(HIZCRA) & ~0x02), HIZCRA);
debug_led(1 << 0);

Loading…
Cancel
Save