summaryrefslogtreecommitdiff
path: root/arch/x86/include/asm/arch-queensbay
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2015-01-27 22:13:37 -0700
committerSimon Glass <sjg@chromium.org>2015-02-05 22:16:43 -0700
commit82196cf34f20c1aeb3f5d3d091b7edfdff37aaad (patch)
treeba876699a29a5130d57d32d293642dff6dd95a3b /arch/x86/include/asm/arch-queensbay
parent1021af4ded2d0961a4ba2ba89851719b098a98b6 (diff)
downloadu-boot-imx-82196cf34f20c1aeb3f5d3d091b7edfdff37aaad.zip
u-boot-imx-82196cf34f20c1aeb3f5d3d091b7edfdff37aaad.tar.gz
u-boot-imx-82196cf34f20c1aeb3f5d3d091b7edfdff37aaad.tar.bz2
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>
Diffstat (limited to 'arch/x86/include/asm/arch-queensbay')
-rw-r--r--arch/x86/include/asm/arch-queensbay/fsp/fsp_vpd.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/x86/include/asm/arch-queensbay/fsp/fsp_vpd.h b/arch/x86/include/asm/arch-queensbay/fsp/fsp_vpd.h
index bce58b1..3c57558 100644
--- a/arch/x86/include/asm/arch-queensbay/fsp/fsp_vpd.h
+++ b/arch/x86/include/asm/arch-queensbay/fsp/fsp_vpd.h
@@ -10,8 +10,6 @@
#ifndef __VPDHEADER_H__
#define __VPDHEADER_H__
-#define UPD_TERMINATOR 0x55AA
-
struct __packed upd_region {
u64 sign; /* Offset 0x0000 */
u64 reserved; /* Offset 0x0008 */