X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=common%2Fenvironment.c;h=24257f7c527b40282e99f1271c95c436a73a7fa9;hb=3dd2db53ceb0dff80f25c2a07f83f29b907b403e;hp=81471ce71cd80410d3eaa784d28fdfc4c782d88e;hpb=bee01a3c166bc7ef4903e4e756d58a109067283f;p=u-boot diff --git a/common/environment.c b/common/environment.c index 81471ce71c..24257f7c52 100644 --- a/common/environment.c +++ b/common/environment.c @@ -51,16 +51,7 @@ * a seperate section. Note that ENV_CRC is only defined when building * U-Boot itself. */ -#if (defined(CONFIG_CMI) || \ - defined(CONFIG_FADS) || \ - defined(CONFIG_HYMOD) || \ - defined(CONFIG_ICU862) || \ - defined(CONFIG_R360MPI) || \ - defined(CONFIG_TQM8xxL) || \ - defined(CONFIG_RRVISION) || \ - defined(CONFIG_TRAB) || \ - defined(CONFIG_PPCHAMELEONEVB) || \ - defined(CONFIG_M5271EVB)) && \ +#if (defined(CFG_USE_PPCENV) || defined(CONFIG_NAND_U_BOOT)) && \ defined(ENV_CRC) /* Environment embedded in U-Boot .ppcenv section */ /* XXX - This only works with GNU C */ # define __PPCENV__ __attribute__ ((section(".ppcenv")))