On 18 October 2015 at 14:26, Simon Glass <s...@chromium.org> wrote: > On 11 October 2015 at 22:37, Bin Meng <bmeng...@gmail.com> wrote: >> 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...@gmail.com> >> --- >> >> arch/x86/include/asm/mrccache.h | 51 +++++++++++++++++++++++ >> arch/x86/lib/mrccache.c | 89 >> +++++++++++++++++++++++++++++++++++++++++ >> 2 files changed, 140 insertions(+) > > Acked-by: Simon Glass <s...@chromium.org>
Applied to u-boot-x86, thanks! _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot