mtd: add a macro to hide the env region in rsv zone
authorYi Zeng <yi.zeng@amlogic.com>
Mon, 12 Mar 2018 07:38:55 +0000 (15:38 +0800)
committerJianxin Pan <jianxin.pan@amlogic.com>
Sun, 18 Mar 2018 03:08:57 +0000 (19:08 -0800)
commitca98982f2890804fc0bf5477c78de94d48384e53
tree2d10fe97edd4fa6ef0f7d27af0ea8d50a4613d06
parent095cdb74c1439b6381d2bc2edcb305e02cb97a12
mtd: add a macro to hide the env region in rsv zone

PD#160529: mtd: add a macro to hide the env region in rsv zone

when we save the env data in normal partition, the env region
in the rsv zone is no needed anymore, so hide it with a macro.

Change-Id: Id1b92079d1127ffabf4c1f208b486daad0af3934
Signed-off-by: Yi Zeng <yi.zeng@amlogic.com>
drivers/amlogic/mtd/aml_env.c
drivers/amlogic/mtd/aml_mtd.h
drivers/amlogic/mtd/aml_nand.c
drivers/amlogic/mtd/m3_nand.c
drivers/amlogic/mtd/rsv_manage.c