X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=common%2Fmain.c;h=6a1159879edc4abb98a415bf369be8b02e621ca3;hb=b55c89ce0207d3a504238c1b8f268c56035656a3;hp=07fc31b716eead0722549675fb41681cdfaafa29;hpb=382bee57f19b4454e2015bc19a010bc2d0ab9337;p=platform%2Fkernel%2Fu-boot.git diff --git a/common/main.c b/common/main.c index 07fc31b..6a11598 100644 --- a/common/main.c +++ b/common/main.c @@ -25,7 +25,7 @@ static void run_preboot_environment_command(void) #ifdef CONFIG_PREBOOT char *p; - p = getenv("preboot"); + p = env_get("preboot"); if (p != NULL) { # ifdef CONFIG_AUTOBOOT_KEYED int prev = disable_ctrlc(1); /* disable Control C checking */