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