env_mmc: add support for redundant environment
authorMichael Heimpold <mhei@heimpold.de>
Wed, 10 Apr 2013 10:36:19 +0000 (10:36 +0000)
committerTom Rini <trini@ti.com>
Wed, 1 May 2013 20:41:10 +0000 (16:41 -0400)
commitd196bd880347373237d73e0d115b4d51c68cf2ad
tree3a4b4cc54e282831b6e800688ca35e60d9077322
parentd2eae43ba803cff75b44a07d08d718ecdecdee94
env_mmc: add support for redundant environment

This patch add support for storing the environment redundant on
mmc devices. Substantially it re-uses the logic from the NAND implementation,
that means using an incremental counter for marking newer data.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
board/freescale/common/sdhc_boot.c
common/env_mmc.c