x86: Support saving MRC data from SPL
authorSimon Glass <sjg@chromium.org>
Fri, 26 Apr 2019 03:58:57 +0000 (21:58 -0600)
committerBin Meng <bmeng.cn@gmail.com>
Wed, 8 May 2019 05:02:14 +0000 (13:02 +0800)
commit9a67994e0132f0a078de6ab7c11a049dbb5c365c
tree80ae8d60eb2048bebaf6554648c72fe5656f20b6
parent17903c06e8d4d960b6d3ae1444905e45fe99a551
x86: Support saving MRC data from SPL

When SPL is used to set up the memory controller we want to save the MRC
data in SPL to avoid needing to pass it up to U-Boot proper to save. Add a
function to handle that.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
arch/x86/include/asm/mrccache.h
arch/x86/lib/mrccache.c