diff options
author | Albert ARIBAUD <albert.u.boot@aribaud.net> | 2014-05-15 16:36:02 +0200 |
---|---|---|
committer | Albert ARIBAUD <albert.u.boot@aribaud.net> | 2014-05-15 16:36:02 +0200 |
commit | 9f5f51540d0d6af03ff22f55b7afc3fda6a4120d (patch) | |
tree | 51ad9a5b740255d53d3381f79fb6011e4928ad40 /board/samsung/smdkc100/smdkc100.c | |
parent | 41623c91b09a0c865fab41acdaff30f060f29ad6 (diff) | |
parent | 9b97b727dcfbdc02a0a78e4c1d81670742f28784 (diff) |
Merge branch 'u-boot-samsung/master' into 'u-boot-arm/master'
Diffstat (limited to 'board/samsung/smdkc100/smdkc100.c')
-rw-r--r-- | board/samsung/smdkc100/smdkc100.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/board/samsung/smdkc100/smdkc100.c b/board/samsung/smdkc100/smdkc100.c index 860c851b25..e009564a59 100644 --- a/board/samsung/smdkc100/smdkc100.c +++ b/board/samsung/smdkc100/smdkc100.c @@ -21,11 +21,8 @@ static void smc9115_pre_init(void) { u32 smc_bw_conf, smc_bc_conf; - struct s5pc100_gpio *const gpio = - (struct s5pc100_gpio *)samsung_get_base_gpio(); - /* gpio configuration GPK0CON */ - s5p_gpio_cfg_pin(&gpio->k0, CONFIG_ENV_SROM_BANK, GPIO_FUNC(2)); + gpio_cfg_pin(S5PC100_GPIO_K00 + CONFIG_ENV_SROM_BANK, S5P_GPIO_FUNC(2)); /* Ethernet needs bus width of 16 bits */ smc_bw_conf = SMC_DATA16_WIDTH(CONFIG_ENV_SROM_BANK); |