commit | e7595aa350ae61e3dfefbde8fe3af01c12b65ccf | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Sat Jul 15 21:39:05 2023 -0600 |
committer | Bin Meng <bmeng@tinylab.org> | Mon Jul 17 17:12:26 2023 +0800 |
tree | fa9443c1c1d884e581ff53df41dd2ff5eb7529fb | |
parent | fa5e2030922b561d5f9ea6c86295f5903e3d878c [diff] |
x86: Allow logging to be used in SPL reliably 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@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>