diff options
Diffstat (limited to 'board/grinn/liteboard')
-rw-r--r-- | board/grinn/liteboard/board.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/board/grinn/liteboard/board.c b/board/grinn/liteboard/board.c index 24956927ac..941e7ea2c8 100644 --- a/board/grinn/liteboard/board.c +++ b/board/grinn/liteboard/board.c @@ -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)) { |