summaryrefslogtreecommitdiffstats
path: root/arch/x86/cpu
diff options
context:
space:
mode:
authorBin Meng <bmeng.cn@gmail.com>2015-10-11 21:37:39 -0700
committerSimon Glass <sjg@chromium.org>2015-10-21 07:46:27 -0600
commited800961a019240208de4ee5662d6f02381a18aa (patch)
tree1fc7d5f5eb2d033a74598d85bea44e0086461c20 /arch/x86/cpu
parentbfa95c538b8b7d9384141f3c88021aa9d941ba54 (diff)
downloadblackbird-obmc-uboot-ed800961a019240208de4ee5662d6f02381a18aa.tar.gz
blackbird-obmc-uboot-ed800961a019240208de4ee5662d6f02381a18aa.zip
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 'arch/x86/cpu')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud