]> git.sur5r.net Git - u-boot/blobdiff - board/samsung/smdkc100/smdkc100.c
arm: Remove support for smdk6400
[u-boot] / board / samsung / smdkc100 / smdkc100.c
index d3189f6b780109ef942715c0918ab835a668a668..c41e610a43b494b5639ab74da86f7873ab46f4ad 100644 (file)
@@ -24,7 +24,7 @@
 
 #include <common.h>
 #include <asm/io.h>
-#include <asm/arch/smc.h>
+#include <asm/arch/sromc.h>
 #include <asm/arch/gpio.h>
 #include <netdev.h>
 
@@ -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);
@@ -50,7 +50,7 @@ static void smc9115_pre_init(void)
                        | SMC_BC_TACP(0x6) | SMC_BC_PMC(0x0);
 
        /* Select and configure the SROMC bank */
-       s5pc1xx_config_sromc(CONFIG_ENV_SROM_BANK, smc_bw_conf, smc_bc_conf);
+       s5p_config_sromc(CONFIG_ENV_SROM_BANK, smc_bw_conf, smc_bc_conf);
 }
 
 int board_init(void)