From: Kuninori Morimoto Date: Thu, 10 Sep 2009 01:40:00 +0000 (+0000) Subject: sh: EcoVec24: add HIZA setting for LED X-Git-Tag: v2.6.32-rc1~640^2~18 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=643e9d10957e80ebbb3aabbb43788eb5cf9ac033;p=users%2Fdwmw2%2Flinux.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 6cd1b782845f5..4d6d5884c67ff 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);