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>
This commit is contained in:
Bin Meng
2015-12-10 22:02:57 -08:00
parent aa02446406
commit f0285fbe4e
3 changed files with 4 additions and 4 deletions

View File

@@ -20,7 +20,7 @@
struct shared_data {
struct fsp_header *fsp_hdr;
u32 *stack_top;
u32 stack_top;
struct upd_region fsp_upd;
};