diff options
Diffstat (limited to 'include/spl.h')
| -rw-r--r-- | include/spl.h | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/include/spl.h b/include/spl.h index 7c10c7f792e..06dc28362d3 100644 --- a/include/spl.h +++ b/include/spl.h @@ -289,6 +289,9 @@ struct spl_image_info { #if CONFIG_IS_ENABLED(LOAD_FIT) || CONFIG_IS_ENABLED(LOAD_FIT_FULL) void *fdt_addr; #endif +#if defined(CONFIG_BOOTM_OPTEE) && defined(CONFIG_ARM) && !defined(CONFIG_ARM64) + ulong optee_addr; +#endif u32 boot_device; u32 offset; u32 size; @@ -1116,10 +1119,16 @@ int board_return_to_bootrom(struct spl_image_info *spl_image, ulong board_spl_fit_size_align(ulong size); /** - * spl_perform_fixups() - arch/board-specific callback before processing - * the boot-payload + * spl_perform_arch_fixups() - arch specific callback before processing the + * boot-payload + */ +void spl_perform_arch_fixups(struct spl_image_info *spl_image); + +/** + * spl_perform_board_fixups() - board specific callback before processing the + * boot-payload */ -void spl_perform_fixups(struct spl_image_info *spl_image); +void spl_perform_board_fixups(struct spl_image_info *spl_image); /* * spl_get_load_buffer() - get buffer for loading partial image data |
