浏览代码

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>
Kuninori Morimoto 15 年之前
父节点
当前提交
643e9d1095
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      arch/sh/boards/mach-ecovec24/setup.c

+ 1 - 0
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);