summaryrefslogtreecommitdiff
path: root/common/Makefile
diff options
context:
space:
mode:
authorJoe Hershberger <joe.hershberger@ni.com>2013-04-08 10:32:51 +0000
committerTom Rini <trini@ti.com>2013-04-11 15:52:55 -0400
commit2b74433f365fa677a60431a80e524b5d8d04e995 (patch)
tree4f33620eb0534e8861010fb6d8945d3da3b455a7 /common/Makefile
parenta7eb1d66c704c884584bf00548cfdf68abfe68bb (diff)
downloadu-boot-imx-2b74433f365fa677a60431a80e524b5d8d04e995.zip
u-boot-imx-2b74433f365fa677a60431a80e524b5d8d04e995.tar.gz
u-boot-imx-2b74433f365fa677a60431a80e524b5d8d04e995.tar.bz2
env: Add support for UBI environment
UBI is a better place for the environment on NAND devices because it handles wear-leveling and bad blocks. Gluebi is needed in Linux to access the env as an MTD partition. Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
Diffstat (limited to 'common/Makefile')
-rw-r--r--common/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/common/Makefile b/common/Makefile
index f631311..0e0fff1 100644
--- a/common/Makefile
+++ b/common/Makefile
@@ -66,6 +66,7 @@ COBJS-$(CONFIG_ENV_IS_IN_NVRAM) += env_nvram.o
COBJS-$(CONFIG_ENV_IS_IN_ONENAND) += env_onenand.o
COBJS-$(CONFIG_ENV_IS_IN_SPI_FLASH) += env_sf.o
COBJS-$(CONFIG_ENV_IS_IN_REMOTE) += env_remote.o
+COBJS-$(CONFIG_ENV_IS_IN_UBI) += env_ubi.o
COBJS-$(CONFIG_ENV_IS_NOWHERE) += env_nowhere.o
# command