x86: Adjust the FSP types slightly
authorSimon Glass <sjg@chromium.org>
Wed, 28 Jan 2015 05:13:37 +0000 (22:13 -0700)
committerSimon Glass <sjg@chromium.org>
Fri, 6 Feb 2015 05:16:43 +0000 (22:16 -0700)
commit82196cf34f20c1aeb3f5d3d091b7edfdff37aaad
treeba876699a29a5130d57d32d293642dff6dd95a3b
parent1021af4ded2d0961a4ba2ba89851719b098a98b6
x86: Adjust the FSP types slightly

To avoid casts, find_fsp_header() should return a pointer. Add asmlinkage
to two API functions which use that convention. UPD_TERMINATOR is common
so move it into a common file.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Tested-by: Bin Meng <bmeng.cn@gmail.com>
arch/x86/include/asm/arch-queensbay/fsp/fsp_vpd.h
arch/x86/include/asm/fsp/fsp_api.h
arch/x86/include/asm/fsp/fsp_support.h
arch/x86/lib/fsp/fsp_support.c