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