x86: Move turbo_state to global_data
authorSimon Glass <sjg@chromium.org>
Mon, 16 Jan 2017 14:04:17 +0000 (07:04 -0700)
committerBin Meng <bmeng.cn@gmail.com>
Tue, 7 Feb 2017 05:07:26 +0000 (13:07 +0800)
commita0c75f9080f0dac35f7190c673b64b243c9c6469
tree993a862f1a8f4497a9a8dd7e1759a5c326f31936
parent1bff83637fdeda3b597ba5b4beb282445d5aeead
x86: Move turbo_state to global_data

To avoid using BSS in SPL before SDRAM is set up, move this field to
global_data.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
arch/x86/cpu/turbo.c
arch/x86/include/asm/global_data.h