summaryrefslogtreecommitdiff
path: root/common/bootm_os.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/bootm_os.c')
-rw-r--r--common/bootm_os.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/bootm_os.c b/common/bootm_os.c
index 392dd2f59f..3af6fdd198 100644
--- a/common/bootm_os.c
+++ b/common/bootm_os.c
@@ -469,7 +469,7 @@ static boot_os_fn *boot_os[] = {
};
/* Allow for arch specific config before we boot */
-__weak void arch_preboot_os(uint32_t bootm_state)
+__weak void arch_preboot_os(uint32_t bootm_state, bootm_headers_t *images)
{
/* please define platform specific arch_preboot_os() */
}
@@ -477,7 +477,7 @@ __weak void arch_preboot_os(uint32_t bootm_state)
int boot_selected_os(int argc, char * const argv[], int state,
bootm_headers_t *images, boot_os_fn *boot_fn)
{
- arch_preboot_os(state);
+ arch_preboot_os(state, images);
boot_fn(state, argc, argv, images);
/* Stand-alone may return when 'autostart' is 'no' */