From 6205c726821e7548b31017e4f09d062e3010a76b Mon Sep 17 00:00:00 2001 From: Kuninori Morimoto Date: Wed, 16 Sep 2009 11:34:34 +0000 Subject: [PATCH] --- yaml --- r: 163588 b: refs/heads/master c: 064a16dc41be879d12bd5de5d2f9d38d890e0ee7 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/arch/sh/boards/mach-ecovec24/setup.c | 10 ++++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index d0d2cabe9ed3..45835db0e79c 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 480c646c32f368dfa2a076f7a120a7795e786e62 +refs/heads/master: 064a16dc41be879d12bd5de5d2f9d38d890e0ee7 diff --git a/trunk/arch/sh/boards/mach-ecovec24/setup.c b/trunk/arch/sh/boards/mach-ecovec24/setup.c index bbe601d4209f..96bc1698310f 100644 --- a/trunk/arch/sh/boards/mach-ecovec24/setup.c +++ b/trunk/arch/sh/boards/mach-ecovec24/setup.c @@ -638,6 +638,16 @@ static int __init arch_setup(void) gpio_request(GPIO_FN_KEYOUT0, NULL); gpio_request(GPIO_FN_KEYIN0, NULL); + /* enable user debug switch */ + gpio_request(GPIO_PTR0, NULL); + gpio_request(GPIO_PTR4, NULL); + gpio_request(GPIO_PTR5, NULL); + gpio_request(GPIO_PTR6, NULL); + gpio_direction_input(GPIO_PTR0); + gpio_direction_input(GPIO_PTR4); + gpio_direction_input(GPIO_PTR5); + gpio_direction_input(GPIO_PTR6); + /* enable I2C device */ i2c_register_board_info(1, i2c1_devices, ARRAY_SIZE(i2c1_devices));