summaryrefslogtreecommitdiffstats
path: root/include/environment.h
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 /include/environment.h
parenta73c8dbb437fb55ecb660cb962c8c1cc85b8a654 (diff)
downloadbarebox-d12ae80889568365ecb9e6698322f9771ae76dde.tar.gz
barebox-d12ae80889568365ecb9e6698322f9771ae76dde.tar.xz
Add NAND environment support for PPC440EPx Sequoia NAND boot config
Patch by Stefan Roese, 12 Sep 2006
Diffstat (limited to 'include/environment.h')
-rw-r--r--include/environment.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/environment.h b/include/environment.h
index 422f800897..26b07120da 100644
--- a/include/environment.h
+++ b/include/environment.h
@@ -79,6 +79,10 @@
# ifdef CFG_ENV_OFFSET_REDUND
# define CFG_REDUNDAND_ENVIRONMENT
# endif
+# if defined(CONFIG_NAND_U_BOOT)
+/* Use embedded environment in NAND boot versions */
+# define ENV_IS_EMBEDDED 1
+# endif
#endif /* CFG_ENV_IS_IN_NAND */