]> git.dujemihanovic.xyz Git - u-boot.git/commit
x86: fsp: Show FSP-S or FSP-M address in fsp_get_header()
authorSimon Glass <sjg@chromium.org>
Tue, 22 Sep 2020 18:45:38 +0000 (12:45 -0600)
committerBin Meng <bmeng.cn@gmail.com>
Fri, 25 Sep 2020 03:27:24 +0000 (11:27 +0800)
commitcc5e02fcbf41279fca8f701e78424db339420116
tree1566fb9054b1b66adbd21605620d0d15397f5ff6
parent4558d3294da3f85a5c0b277259bdba6906fa0b47
x86: fsp: Show FSP-S or FSP-M address in fsp_get_header()

At present this function only supports FSP-M but it is also used to read
FSP-S, in which case FSP-M may be zero. Add support for showing whichever
address is present in the FSP binary.

Also change the debug() statements to log_debug() while here.

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