X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=include%2Fenvironment.h;h=af605ab7a9cefc5547ce23b91a7e4aef5fa4bb19;hb=d62f64cc23a940eafe712c776b3249e4160753d1;hp=26b07120da152166f250ce69f1b9073e4ae58ec6;hpb=5d5269f87fc00a3fe1960cacd92e3d04864dff7d;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 */