forked from OERV-BSP/u-boot
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:
@@ -20,7 +20,7 @@
|
||||
|
||||
struct shared_data {
|
||||
struct fsp_header *fsp_hdr;
|
||||
u32 *stack_top;
|
||||
u32 stack_top;
|
||||
struct upd_region fsp_upd;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user