diff options
author | Kuninori Morimoto <morimoto.kuninori@renesas.com> | 2009-09-10 01:40:00 +0000 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2009-09-11 13:19:18 +0900 |
commit | 643e9d10957e80ebbb3aabbb43788eb5cf9ac033 (patch) | |
tree | 9ae352104893d3958debbfdb35413abe86b1397b | |
parent | 4907d57f76dc1d6c49c19c653fb705b9a2a8487c (diff) | |
download | linux-643e9d10957e80ebbb3aabbb43788eb5cf9ac033.tar.gz linux-643e9d10957e80ebbb3aabbb43788eb5cf9ac033.tar.bz2 linux-643e9d10957e80ebbb3aabbb43788eb5cf9ac033.zip |
sh: EcoVec24: add HIZA setting for LED
Signed-off-by: Kuninori Morimoto <morimoto.kuninori@renesas.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
-rw-r--r-- | arch/sh/boards/mach-ecovec24/setup.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/sh/boards/mach-ecovec24/setup.c b/arch/sh/boards/mach-ecovec24/setup.c index 6cd1b782845f..4d6d5884c67f 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); |