From: Kuninori Morimoto Date: Thu, 10 Sep 2009 01:40:00 +0000 (+0000) Subject: sh: EcoVec24: add HIZA setting for LED X-Git-Url: http://git.mmlx.us/?a=commitdiff_plain;h=643e9d10957e80ebbb3aabbb43788eb5cf9ac033;p=linux-edison.git sh: EcoVec24: add HIZA setting for LED Signed-off-by: Kuninori Morimoto Signed-off-by: Paul Mundt --- diff --git a/arch/sh/boards/mach-ecovec24/setup.c b/arch/sh/boards/mach-ecovec24/setup.c index 6cd1b782845..4d6d5884c67 100644 --- a/arch/sh/boards/mach-ecovec24/setup.c +++ b/arch/sh/boards/mach-ecovec24/setup.c @@ -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);