[PATCH v3 53/57] x86: fsp: Show FSP-S or FSP-M address in fsp_get_header()

Bin Meng
2020-09-22T08:06:38Z

On Mon, Sep 7, 2020 at 5:45 AM Simon Glass <sjg@chromium.org> wrote:
>
> 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>
> ---
>
> (no changes since v1)
>
> arch/x86/lib/fsp2/fsp_support.c | 22 ++++++++++++++--------
> 1 file changed, 14 insertions(+), 8 deletions(-)
>

Reviewed-by: Bin Meng <bmeng.cn@gmail.com>