[PATCH v4 30/45] x86: Allow logging to be used in SPL reliably

Bin Meng bmeng.cn at gmail.com
Thu Jul 13 07:17:08 CEST 2023


On Mon, Jun 19, 2023 at 8:02 PM Simon Glass <sjg at chromium.org> wrote:
>
> When global_data is relocated, log_head moves in memory, meaning that
> the items in that list point to the wrong place.
>
> Disable logging when making the change, then reenable it afterwards, so
> that logging works normally.
>
> Signed-off-by: Simon Glass <sjg at chromium.org>
> ---
>
> (no changes since v1)
>
>  arch/x86/lib/spl.c | 13 +++++++++++++
>  1 file changed, 13 insertions(+)
>

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


More information about the U-Boot mailing list