mtd: nand: enhance the robust of env
authorYonghui Yu <yonghui.yu@amlogic.com>
Wed, 14 Jun 2017 13:19:51 +0000 (21:19 +0800)
committerJianxin Pan <jianxin.pan@amlogic.com>
Fri, 16 Jun 2017 04:43:09 +0000 (21:43 -0700)
commit08fb3d0741fff02fa6486395244d0a029f63c284
tree02b8baa9929f9ab764c1716a4eb32f38e8b30016
parent44a77d4de8d50ef1d3b1bd66be13ac48a5824ac2
mtd: nand: enhance the robust of env

PD#145594: nand: enhance the robust of env

1)enhance sudden power lost and ecc-error protection
2)add mtd env mutex for kernel

Change-Id: I0a454149c408f882924543d84db5d46591230d3d
Signed-off-by: Yonghui Yu <yonghui.yu@amlogic.com>
drivers/amlogic/mtd/aml_env.c
drivers/amlogic/mtd/aml_mtd.h
drivers/amlogic/mtd/rsv_manage.c