summaryrefslogtreecommitdiff
path: root/arch/x86/include/asm/fsp/fsp_support.h
diff options
context:
space:
mode:
authorBin Meng <bmeng.cn@gmail.com>2015-12-11 09:02:57 +0300
committerBin Meng <bmeng.cn@gmail.com>2016-01-13 07:20:13 +0300
commitf0285fbe4e868311f925aeae480796d4626e1728 (patch)
tree0205e923598b31e8b13753f0ff29506bd2512ca9 /arch/x86/include/asm/fsp/fsp_support.h
parentaa02446406af194b7c79c2fae06073690e4fbba3 (diff)
downloadu-boot-f0285fbe4e868311f925aeae480796d4626e1728.tar.xz
x86: fsp: Avoid cast stack_top in struct shared_data
Declare stack_top as u32 in struct shared_data and struct common_buf so that we can avoid casting in fsp_init(). Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Acked-by: Simon Glass <sjg@chromium.org> Tested-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/x86/include/asm/fsp/fsp_support.h')
-rw-r--r--arch/x86/include/asm/fsp/fsp_support.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/include/asm/fsp/fsp_support.h b/arch/x86/include/asm/fsp/fsp_support.h
index f30d7b4854..685778e11e 100644
--- a/arch/x86/include/asm/fsp/fsp_support.h
+++ b/arch/x86/include/asm/fsp/fsp_support.h
@@ -20,7 +20,7 @@
struct shared_data {
struct fsp_header *fsp_hdr;
- u32 *stack_top;
+ u32 stack_top;
struct upd_region fsp_upd;
};