X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=include%2Fenvironment.h;h=af605ab7a9cefc5547ce23b91a7e4aef5fa4bb19;hb=77a318545d57aefa844752465b94c7e09a3f26d0;hp=26b07120da152166f250ce69f1b9073e4ae58ec6;hpb=afa98843e4665add11b69496341053b268156e3a;p=u-boot diff --git a/include/environment.h b/include/environment.h index 26b07120da..af605ab7a9 100644 --- a/include/environment.h +++ b/include/environment.h @@ -79,8 +79,7 @@ # ifdef CFG_ENV_OFFSET_REDUND # define CFG_REDUNDAND_ENVIRONMENT # endif -# if defined(CONFIG_NAND_U_BOOT) -/* Use embedded environment in NAND boot versions */ +# ifdef CFG_ENV_IS_EMBEDDED # define ENV_IS_EMBEDDED 1 # endif #endif /* CFG_ENV_IS_IN_NAND */