]> git.sur5r.net Git - u-boot/blobdiff - board/samsung/smdkc100/smdkc100.c
S5P: Use accessor functions instead of SoC specific defines to access the base address
[u-boot] / board / samsung / smdkc100 / smdkc100.c
index fb466c6ece4fe43331ba86cfb9f6869c1f599145..bb72fd1139d71ff7bfdbade0a59facfbb0008405 100644 (file)
@@ -38,7 +38,7 @@ static void smc9115_pre_init(void)
        u32 smc_bw_conf, smc_bc_conf;
 
        struct s5pc100_gpio *const gpio =
-               (struct s5pc100_gpio *)S5PC100_GPIO_BASE;
+               (struct s5pc100_gpio *)samsung_get_base_gpio();
 
        /* gpio configuration GPK0CON */
        gpio_cfg_pin(&gpio->gpio_k0, CONFIG_ENV_SROM_BANK, GPIO_FUNC(2));