Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 221120
b: refs/heads/master
c: 20dbc43
h: refs/heads/master
v: v3
  • Loading branch information
Kukjin Kim committed Oct 23, 2010
1 parent 5a22a08 commit 62e10b7
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 9 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 3e9b7261502e78e351fc6a61a9b7241433c779c4
refs/heads/master: 20dbc43dd33a35ee24b6892d980c5e6107a27d32
2 changes: 1 addition & 1 deletion trunk/arch/arm/mach-s5pc100/setup-fb-24bpp.c
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

static void s5pc100_fb_setgpios(unsigned int base, unsigned int nr)
{
s3c_gpio_cfgall_range(base, nr, S3C_GPIO_SFN(2), S3C_GPIO_PULL_NONE);
s3c_gpio_cfgrange_nopull(base, nr, S3C_GPIO_SFN(2));
}

void s5pc100_fb_gpio_setup_24bpp(void)
Expand Down
5 changes: 2 additions & 3 deletions trunk/arch/arm/mach-s5pc100/setup-ide.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

static void s5pc100_ide_cfg_gpios(unsigned int base, unsigned int nr)
{
s3c_gpio_cfgall_range(base, nr, S3C_GPIO_SFN(4), S3C_GPIO_PULL_NONE);
s3c_gpio_cfgrange_nopull(base, nr, S3C_GPIO_SFN(4));

for (; nr > 0; nr--, base++)
s5p_gpio_set_drvstr(base, S5P_GPIO_DRVSTR_LV4);
Expand Down Expand Up @@ -49,8 +49,7 @@ void s5pc100_ide_setup_gpio(void)
s3c_gpio_cfgpin_range(S5PC100_GPK0(6), 2, S3C_GPIO_SFN(0));

/* CF_OE, CF_WE */
s3c_gpio_cfgall_range(S5PC100_GPK1(6), 8,
S3C_GPIO_SFN(2), S3C_GPIO_PULL_NONE);
s3c_gpio_cfgrange_nopull(S5PC100_GPK1(6), 8, S3C_GPIO_SFN(2));

/* CF_CD */
s3c_gpio_cfgpin(S5PC100_GPK3(5), S3C_GPIO_SFN(2));
Expand Down
6 changes: 2 additions & 4 deletions trunk/arch/arm/mach-s5pc100/setup-keypad.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,8 @@
void samsung_keypad_cfg_gpio(unsigned int rows, unsigned int cols)
{
/* Set all the necessary GPH3 pins to special-function 3: KP_ROW[x] */
s3c_gpio_cfgall_range(S5PC100_GPH3(0), rows,
S3C_GPIO_SFN(3), S3C_GPIO_PULL_NONE);
s3c_gpio_cfgrange_nopull(S5PC100_GPH3(0), rows, S3C_GPIO_SFN(3));

/* Set all the necessary GPH2 pins to special-function 3: KP_COL[x] */
s3c_gpio_cfgall_range(S5PC100_GPH2(0), cols,
S3C_GPIO_SFN(3), S3C_GPIO_PULL_NONE);
s3c_gpio_cfgrange_nopull(S5PC100_GPH2(0), cols, S3C_GPIO_SFN(3));
}

0 comments on commit 62e10b7

Please sign in to comment.