sh: EcoVec24: add HIZA setting for LED
authorKuninori Morimoto <morimoto.kuninori@renesas.com>
Thu, 10 Sep 2009 01:40:00 +0000 (01:40 +0000)
committerPaul Mundt <lethal@linux-sh.org>
Fri, 11 Sep 2009 04:19:18 +0000 (13:19 +0900)
Signed-off-by: Kuninori Morimoto <morimoto.kuninori@renesas.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/boards/mach-ecovec24/setup.c

index 6cd1b78..4d6d588 100644 (file)
@@ -428,6 +428,7 @@ static int __init arch_setup(void)
        gpio_direction_output(GPIO_PTG1, 0);
        gpio_direction_output(GPIO_PTG2, 0);
        gpio_direction_output(GPIO_PTG3, 0);
+       ctrl_outw((ctrl_inw(PORT_HIZA) & ~(0x1 << 1)) , PORT_HIZA);
 
        /* enable SH-Eth */
        gpio_request(GPIO_PTA1, NULL);