summaryrefslogtreecommitdiff
path: root/common/environment.c
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2006-09-12 20:19:10 +0200
committerStefan Roese <sr@denx.de>2006-09-12 20:19:10 +0200
commitd12ae80889568365ecb9e6698322f9771ae76dde (patch)
tree7dd321e0b7a9d9a1e438995c2c7c4bf1587d9774 /common/environment.c
parenta73c8dbb437fb55ecb660cb962c8c1cc85b8a654 (diff)
downloadu-boot-imx-d12ae80889568365ecb9e6698322f9771ae76dde.zip
u-boot-imx-d12ae80889568365ecb9e6698322f9771ae76dde.tar.gz
u-boot-imx-d12ae80889568365ecb9e6698322f9771ae76dde.tar.bz2
Add NAND environment support for PPC440EPx Sequoia NAND boot config
Patch by Stefan Roese, 12 Sep 2006
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 81471ce..19bdeb0 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")))