diff options
Diffstat (limited to 'arch/arm/mach-s5pc100/setup-ide.c')
-rw-r--r-- | arch/arm/mach-s5pc100/setup-ide.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/arch/arm/mach-s5pc100/setup-ide.c b/arch/arm/mach-s5pc100/setup-ide.c index d8b0d0eac139..223aae044466 100644 --- a/arch/arm/mach-s5pc100/setup-ide.c +++ b/arch/arm/mach-s5pc100/setup-ide.c | |||
@@ -19,7 +19,7 @@ | |||
19 | 19 | ||
20 | static void s5pc100_ide_cfg_gpios(unsigned int base, unsigned int nr) | 20 | static void s5pc100_ide_cfg_gpios(unsigned int base, unsigned int nr) |
21 | { | 21 | { |
22 | s3c_gpio_cfgall_range(base, nr, S3C_GPIO_SFN(4), S3C_GPIO_PULL_NONE); | 22 | s3c_gpio_cfgrange_nopull(base, nr, S3C_GPIO_SFN(4)); |
23 | 23 | ||
24 | for (; nr > 0; nr--, base++) | 24 | for (; nr > 0; nr--, base++) |
25 | s5p_gpio_set_drvstr(base, S5P_GPIO_DRVSTR_LV4); | 25 | s5p_gpio_set_drvstr(base, S5P_GPIO_DRVSTR_LV4); |
@@ -49,8 +49,7 @@ void s5pc100_ide_setup_gpio(void) | |||
49 | s3c_gpio_cfgpin_range(S5PC100_GPK0(6), 2, S3C_GPIO_SFN(0)); | 49 | s3c_gpio_cfgpin_range(S5PC100_GPK0(6), 2, S3C_GPIO_SFN(0)); |
50 | 50 | ||
51 | /* CF_OE, CF_WE */ | 51 | /* CF_OE, CF_WE */ |
52 | s3c_gpio_cfgall_range(S5PC100_GPK1(6), 8, | 52 | s3c_gpio_cfgrange_nopull(S5PC100_GPK1(6), 8, S3C_GPIO_SFN(2)); |
53 | S3C_GPIO_SFN(2), S3C_GPIO_PULL_NONE); | ||
54 | 53 | ||
55 | /* CF_CD */ | 54 | /* CF_CD */ |
56 | s3c_gpio_cfgpin(S5PC100_GPK3(5), S3C_GPIO_SFN(2)); | 55 | s3c_gpio_cfgpin(S5PC100_GPK3(5), S3C_GPIO_SFN(2)); |