env: Add env_export() wrapper
authorMarek Vasut <marex@denx.de>
Wed, 5 Mar 2014 18:59:50 +0000 (19:59 +0100)
committerTom Rini <trini@ti.com>
Fri, 21 Mar 2014 20:43:59 +0000 (16:43 -0400)
commit7ce1526ed2bf7a7499a843d38b30095fa2894659
tree4cfcf6050115137a4ff027e21ab2fcbf61c58359
parentb401b73d02bb4f97197830e565f19a65577fecc6
env: Add env_export() wrapper

Implement env_export() wrapper, so that all implementers of saveenv() don't
have to call hexport_r(), crc32() etc. sequence . This trims down a bit of
code duplication.

Signed-off-by: Marek Vasut <marex@denx.de>
12 files changed:
common/env_common.c
common/env_dataflash.c
common/env_eeprom.c
common/env_fat.c
common/env_flash.c
common/env_mmc.c
common/env_nand.c
common/env_nvram.c
common/env_onenand.c
common/env_sf.c
common/env_ubi.c
include/environment.h