diff options
author | Bin Meng | 2015-10-11 21:37:39 -0700 |
---|---|---|
committer | Simon Glass | 2015-10-21 07:46:27 -0600 |
commit | ed800961a019240208de4ee5662d6f02381a18aa (patch) | |
tree | 1fc7d5f5eb2d033a74598d85bea44e0086461c20 /fs/yaffs2 | |
parent | bfa95c538b8b7d9384141f3c88021aa9d941ba54 (diff) |
x86: Add more common routines to manipulate mrc cache
This adds mrccache_reserve(), mrccache_get_region() and
mrccache_save() APIs to the mrccache codes. They are ported
from the ivybridge implementation, but with some changes.
For example, in the mrccache_reserve(), ivybridge version
only reserves the pure MRC data, which causes additional
malloc() when saving the cache as the save API needs some
meta data. Now we change it to save the whole MRC date plus
the meta data to elinimate the need for the malloc() later.
Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Acked-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'fs/yaffs2')
0 files changed, 0 insertions, 0 deletions