summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/arch/arm64/boot.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/arch/arm64/boot.c b/src/arch/arm64/boot.c
index 312ffdddc9..f62ceb66ef 100644
--- a/src/arch/arm64/boot.c
+++ b/src/arch/arm64/boot.c
@@ -68,9 +68,10 @@ void arch_prog_run(struct prog *prog)
void (*doit)(void *);
void *arg;
- if (ENV_RAMSTAGE && prog->type == PROG_PAYLOAD)
+ if (ENV_RAMSTAGE && prog->type == PROG_PAYLOAD) {
run_payload(prog);
return;
+ }
doit = prog_entry(prog);
arg = prog_entry_arg(prog);