x86: fsp: Add access to variable MRC data
authorSimon Glass <sjg@chromium.org>
Wed, 25 Sep 2019 14:11:34 +0000 (08:11 -0600)
committerBin Meng <bmeng.cn@gmail.com>
Tue, 8 Oct 2019 05:57:31 +0000 (13:57 +0800)
commit46dd41fa5a8f08af903c7f0cfde9abfc16d7efe3
tree9d884392cb92277b42355b153183580a3fcdad92
parentceec18491c665bccb6702ac1ba835ca75e5e58a9
x86: fsp: Add access to variable MRC data

With FSP2 the non-volatile storage used by the FSP to init memory can be
split into a fixed piece (determined at compile time) and a variable piece
(determined at run time). Add support for reading the latter.

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