mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-06-13 15:03:58 +03:00
spl: Drop use of uintptr_t
U-Boot uses ulong for addresses. It is confusing to use uintptr_t in a few places, since it makes people wonder if the types are compatible. Change the few occurences in SPL to use ulong Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
@@ -268,8 +268,8 @@ enum spl_sandbox_flags {
|
||||
struct spl_image_info {
|
||||
const char *name;
|
||||
u8 os;
|
||||
uintptr_t load_addr;
|
||||
uintptr_t entry_point;
|
||||
ulong load_addr;
|
||||
ulong entry_point;
|
||||
#if CONFIG_IS_ENABLED(LOAD_FIT) || CONFIG_IS_ENABLED(LOAD_FIT_FULL)
|
||||
void *fdt_addr;
|
||||
#endif
|
||||
@@ -951,9 +951,9 @@ void __noreturn spl_invoke_atf(struct spl_image_info *spl_image);
|
||||
*
|
||||
* Return: bl31 params structure pointer
|
||||
*/
|
||||
struct bl31_params *bl2_plat_get_bl31_params(uintptr_t bl32_entry,
|
||||
uintptr_t bl33_entry,
|
||||
uintptr_t fdt_addr);
|
||||
struct bl31_params *bl2_plat_get_bl31_params(ulong bl32_entry,
|
||||
ulong bl33_entry,
|
||||
ulong fdt_addr);
|
||||
|
||||
/**
|
||||
* bl2_plat_get_bl31_params_default() - prepare params for bl31.
|
||||
@@ -972,9 +972,9 @@ struct bl31_params *bl2_plat_get_bl31_params(uintptr_t bl32_entry,
|
||||
*
|
||||
* Return: bl31 params structure pointer
|
||||
*/
|
||||
struct bl31_params *bl2_plat_get_bl31_params_default(uintptr_t bl32_entry,
|
||||
uintptr_t bl33_entry,
|
||||
uintptr_t fdt_addr);
|
||||
struct bl31_params *bl2_plat_get_bl31_params_default(ulong bl32_entry,
|
||||
ulong bl33_entry,
|
||||
ulong fdt_addr);
|
||||
|
||||
/**
|
||||
* bl2_plat_get_bl31_params_v2() - return params for bl31
|
||||
@@ -988,9 +988,9 @@ struct bl31_params *bl2_plat_get_bl31_params_default(uintptr_t bl32_entry,
|
||||
*
|
||||
* Return: bl31 params structure pointer
|
||||
*/
|
||||
struct bl_params *bl2_plat_get_bl31_params_v2(uintptr_t bl32_entry,
|
||||
uintptr_t bl33_entry,
|
||||
uintptr_t fdt_addr);
|
||||
struct bl_params *bl2_plat_get_bl31_params_v2(ulong bl32_entry,
|
||||
ulong bl33_entry,
|
||||
ulong fdt_addr);
|
||||
|
||||
/**
|
||||
* bl2_plat_get_bl31_params_v2_default() - prepare params for bl31.
|
||||
@@ -1007,9 +1007,9 @@ struct bl_params *bl2_plat_get_bl31_params_v2(uintptr_t bl32_entry,
|
||||
*
|
||||
* Return: bl31 params structure pointer
|
||||
*/
|
||||
struct bl_params *bl2_plat_get_bl31_params_v2_default(uintptr_t bl32_entry,
|
||||
uintptr_t bl33_entry,
|
||||
uintptr_t fdt_addr);
|
||||
struct bl_params *bl2_plat_get_bl31_params_v2_default(ulong bl32_entry,
|
||||
ulong bl33_entry,
|
||||
ulong fdt_addr);
|
||||
/**
|
||||
* spl_optee_entry - entry function for optee
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user