]> git.dujemihanovic.xyz Git - u-boot.git/commit
x86: fsp: Avoid cast stack_top in struct shared_data
authorBin Meng <bmeng.cn@gmail.com>
Fri, 11 Dec 2015 06:02:57 +0000 (22:02 -0800)
committerBin Meng <bmeng.cn@gmail.com>
Wed, 13 Jan 2016 04:20:13 +0000 (12:20 +0800)
commitf0285fbe4e868311f925aeae480796d4626e1728
tree0205e923598b31e8b13753f0ff29506bd2512ca9
parentaa02446406af194b7c79c2fae06073690e4fbba3
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>
arch/x86/include/asm/fsp/fsp_api.h
arch/x86/include/asm/fsp/fsp_support.h
arch/x86/lib/fsp/fsp_support.c