]> git.sur5r.net Git - u-boot/blobdiff - arch/arm/cpu/armv7/vf610/generic.c
env: Rename setenv() to env_set()
[u-boot] / arch / arm / cpu / armv7 / vf610 / generic.c
index 50eb0c6b97c0262dbe1d3a34430f4fb78fd7ec79..88f3f4dd163348cf47508520cffec2119afc2638 100644 (file)
@@ -9,7 +9,7 @@
 #include <asm/arch/imx-regs.h>
 #include <asm/arch/clock.h>
 #include <asm/arch/crm_regs.h>
-#include <asm/imx-common/sys_proto.h>
+#include <asm/mach-imx/sys_proto.h>
 #include <netdev.h>
 #ifdef CONFIG_FSL_ESDHC
 #include <fsl_esdhc.h>
@@ -204,6 +204,11 @@ static u32 get_dspi_clk(void)
        return get_ipg_clk();
 }
 
+u32 get_lpuart_clk(void)
+{
+       return get_uart_clk();
+}
+
 unsigned int mxc_get_clock(enum mxc_clock clk)
 {
        switch (clk) {
@@ -324,7 +329,7 @@ int arch_misc_init(void)
 
        strcpy(soc, "vf");
        strcat(soc, soc_type);
-       setenv("soc", soc);
+       env_set("soc", soc);
 
        return 0;
 }