summaryrefslogtreecommitdiffstats
path: root/common/environment.c
diff options
context:
space:
mode:
authorWolfgang Denk <wd@pollux.denx.de>2006-09-13 10:25:40 +0200
committerWolfgang Denk <wd@pollux.denx.de>2006-09-13 10:25:40 +0200
commit5d5269f87fc00a3fe1960cacd92e3d04864dff7d (patch)
tree208a387f1e0f0399696132e556e58b36e6072efd /common/environment.c
parenta87d46f7327eedead89284a0d0c5e5a769b984b9 (diff)
parentd12ae80889568365ecb9e6698322f9771ae76dde (diff)
downloadblackbird-obmc-uboot-5d5269f87fc00a3fe1960cacd92e3d04864dff7d.tar.gz
blackbird-obmc-uboot-5d5269f87fc00a3fe1960cacd92e3d04864dff7d.zip
Merge with /home/sr/git/u-boot/denx
Diffstat (limited to 'common/environment.c')
-rw-r--r--common/environment.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/common/environment.c b/common/environment.c
index 81471ce71c..19bdeb0f62 100644
--- a/common/environment.c
+++ b/common/environment.c
@@ -60,7 +60,8 @@
defined(CONFIG_RRVISION) || \
defined(CONFIG_TRAB) || \
defined(CONFIG_PPCHAMELEONEVB) || \
- defined(CONFIG_M5271EVB)) && \
+ defined(CONFIG_M5271EVB) || \
+ 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")))
OpenPOWER on IntegriCloud