x86: Support global_data on x86_64
authorSimon Glass <sjg@chromium.org>
Mon, 16 Jan 2017 14:03:59 +0000 (07:03 -0700)
committerBin Meng <bmeng.cn@gmail.com>
Mon, 6 Feb 2017 03:38:46 +0000 (11:38 +0800)
commita160092a610f4345cea5b606a8daf27d1feba185
treedf18c0c3a3987c65e1093401d030b478e6ad09dc
parent93031595ede1c8a0ee1f7820ab9d719b0e9e51c7
x86: Support global_data on x86_64

At present this is just an ordinary variable. We may consider making it a
fixed register in the future.

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