From 8b097916faa20f04ff4b0147ebcf0331204ec96b Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Fri, 31 Jul 2015 09:31:31 -0600 Subject: x86: Add some missing global_data declarations in files that use gd Some files use global_data but don't declare it. Fix this. Signed-off-by: Simon Glass Reviewed-by: Bin Meng --- arch/x86/lib/fsp/fsp_common.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'arch/x86/lib/fsp/fsp_common.c') diff --git a/arch/x86/lib/fsp/fsp_common.c b/arch/x86/lib/fsp/fsp_common.c index 5b256324e1..c585710824 100644 --- a/arch/x86/lib/fsp/fsp_common.c +++ b/arch/x86/lib/fsp/fsp_common.c @@ -11,6 +11,8 @@ #include #include +DECLARE_GLOBAL_DATA_PTR; + int print_cpuinfo(void) { post_code(POST_CPU_INFO); -- cgit