commit | 23ae5c397d8ccbbcce4a05be19e9995aa66955b1 | [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 | 4273e35bf89093c469419d2cab6583328cc14161 [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>