]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - board/grinn/liteboard/board.c
env: Rename getenv/_f() to env_get()
[people/ms/u-boot.git] / board / grinn / liteboard / board.c
index 24956927ac44d16039d4b3e33f86e185558e8023..941e7ea2c8ed8019b33dfb4bcc74b1c515e75372 100644 (file)
@@ -149,7 +149,7 @@ int board_mmc_init(bd_t *bis)
 
 static int check_mmc_autodetect(void)
 {
-       char *autodetect_str = getenv("mmcautodetect");
+       char *autodetect_str = env_get("mmcautodetect");
 
        if ((autodetect_str != NULL) &&
            (strcmp(autodetect_str, "yes") == 0)) {