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.

Change-Id: I3ff4f57cec46d4068d7790792b6373bae7c28c0e
Signed-off-by: Simon Glass <sjg@chromium.org>
1 file changed