soc: rockchip: vendor storage support realloc
authorZhaoyifeng <zyf@rock-chips.com>
Thu, 18 May 2017 06:39:09 +0000 (14:39 +0800)
committerHuang, Tao <huangtao@rock-chips.com>
Wed, 12 Jul 2017 06:28:43 +0000 (14:28 +0800)
commit5d4055911989e5217b609c75fda388d43b9e97c3
treeff92ebba1ede42d1b853b9d35cfc6594fa919c66
parentd76a04838f440ab8b9fd8dc134dbb7159b37d5a3
soc: rockchip: vendor storage support realloc

To rewrite the same id with the data size large than first alloc size,
it`s will write fail. This commit will support realloc new memory
for rewrite.

Change-Id: Icd53afd072328dc45f1faae033471c5069664f05
Signed-off-by: Zhaoyifeng <zyf@rock-chips.com>
drivers/soc/rockchip/sdmmc_vendor_storage.c