aboutsummaryrefslogtreecommitdiff
path: root/fs/yaffs2
diff options
context:
space:
mode:
authorBin Meng2015-10-11 21:37:39 -0700
committerSimon Glass2015-10-21 07:46:27 -0600
commited800961a019240208de4ee5662d6f02381a18aa (patch)
tree1fc7d5f5eb2d033a74598d85bea44e0086461c20 /fs/yaffs2
parentbfa95c538b8b7d9384141f3c88021aa9d941ba54 (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