diff options
author | Philipp Tomsich <philipp.tomsich@theobroma-systems.com> | 2017-08-30 15:22:18 +0200 |
---|---|---|
committer | Philipp Tomsich <philipp.tomsich@theobroma-systems.com> | 2017-10-05 12:41:38 +0200 |
commit | bc4d882a45a80a7573e3971017c5dd04781ddb28 (patch) | |
tree | ce51cf6f508a131a1b0a7fba7b4aa73b8a9afa42 | |
parent | 2d31b153bef82736f5acd0445f04e74b836f9fb3 (diff) |
spl: change load_addr and entry_point to uintptr_t
Mainly a stylistic change: convert the load_addr and entry_point
fields of struct spl_image_info to uintptr_t (from ulong).
Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
-rw-r--r-- | include/spl.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/include/spl.h b/include/spl.h index acbc47afe4..19e64e3bc8 100644 --- a/include/spl.h +++ b/include/spl.h @@ -23,8 +23,8 @@ struct spl_image_info { const char *name; u8 os; - ulong load_addr; - ulong entry_point; + uintptr_t load_addr; + uintptr_t entry_point; #if CONFIG_IS_ENABLED(LOAD_FIT) void *fdt_addr; #endif @@ -270,7 +270,10 @@ int spl_dfu_cmd(int usbctrl, char *dfu_alt_info, char *interface, char *devstr); int spl_mmc_load_image(struct spl_image_info *spl_image, struct spl_boot_device *bootdev); -void bl31_entry(void); +/** + * spl_invoke_atf - boot using an ARM trusted firmware image + */ +void spl_invoke_atf(struct spl_image_info *spl_image); /** * board_return_to_bootrom - allow for boards to continue with the boot ROM |