summaryrefslogtreecommitdiff
path: root/board/samsung/smdkc100
diff options
context:
space:
mode:
authorƁukasz Majewski <l.majewski@samsung.com>2011-07-15 00:16:22 +0000
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2011-09-03 22:40:47 +0200
commitef5d9eb925cd1f5e13c1c3d940932b182e06446d (patch)
tree18369ac50147b62700276b5204d57fa067dc5ef1 /board/samsung/smdkc100
parent9070872bb343e07945bf3882c572da82901c637d (diff)
downloadu-boot-imx-ef5d9eb925cd1f5e13c1c3d940932b182e06446d.zip
u-boot-imx-ef5d9eb925cd1f5e13c1c3d940932b182e06446d.tar.gz
u-boot-imx-ef5d9eb925cd1f5e13c1c3d940932b182e06446d.tar.bz2
gpio:samsung s5p_ suffix add for GPIO functions
This change is driven by need of general gpio_* functions, which as their parameter are accepting the GPIO pin number, NOT block and pin. This makes the code alike to omap, and allows for using more generic frameworks (e.g. software I2C). Signed-off-by: Lukasz Majewski <l.majewski@samsung.com> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> Signed-off-by: Minkyu Kang <mk7.kang@samsung.com> Acked-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'board/samsung/smdkc100')
-rw-r--r--board/samsung/smdkc100/smdkc100.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/samsung/smdkc100/smdkc100.c b/board/samsung/smdkc100/smdkc100.c
index 1ad68b9..c41e610 100644
--- a/board/samsung/smdkc100/smdkc100.c
+++ b/board/samsung/smdkc100/smdkc100.c
@@ -41,7 +41,7 @@ static void smc9115_pre_init(void)
(struct s5pc100_gpio *)samsung_get_base_gpio();
/* gpio configuration GPK0CON */
- gpio_cfg_pin(&gpio->k0, CONFIG_ENV_SROM_BANK, GPIO_FUNC(2));
+ s5p_gpio_cfg_pin(&gpio->k0, CONFIG_ENV_SROM_BANK, GPIO_FUNC(2));
/* Ethernet needs bus width of 16 bits */
smc_bw_conf = SMC_DATA16_WIDTH(CONFIG_ENV_SROM_BANK);