]> git.sur5r.net Git - u-boot/blobdiff - board/gateworks/gw_ventana/common.c
env: Rename getenv/_f() to env_get()
[u-boot] / board / gateworks / gw_ventana / common.c
index 186eb18048139694db23270db0d2e85d9667a46e..e9865b4adbfd4a8a7785241e3f67eab198c91d31 100644 (file)
@@ -10,7 +10,7 @@
 #include <asm/arch/mx6-pins.h>
 #include <asm/arch/sys_proto.h>
 #include <asm/gpio.h>
-#include <asm/imx-common/mxc_i2c.h>
+#include <asm/mach-imx/mxc_i2c.h>
 #include <fsl_esdhc.h>
 #include <hwconfig.h>
 #include <power/pmic.h>
@@ -1160,7 +1160,7 @@ void setup_board_gpio(int board, struct ventana_board_info *info)
        char arg[10];
        size_t len;
        int i;
-       int quiet = simple_strtol(getenv("quiet"), NULL, 10);
+       int quiet = simple_strtol(env_get("quiet"), NULL, 10);
 
        if (board >= GW_UNKNOWN)
                return;