From a85dcd05b7fd901470a0815e94bd98d2656284ec Mon Sep 17 00:00:00 2001 From: STChens <51950437+STChens@users.noreply.github.com> Date: Thu, 11 Jun 2026 09:59:27 +0800 Subject: [PATCH] Fix the issue of loading cm33 elf built by IAR Signed-off-by: Sunny Chen --- drivers/remoteproc/stm32_rproc.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/remoteproc/stm32_rproc.c b/drivers/remoteproc/stm32_rproc.c index 72ff9a949b66c2..dde0f7a952bf4d 100644 --- a/drivers/remoteproc/stm32_rproc.c +++ b/drivers/remoteproc/stm32_rproc.c @@ -153,7 +153,8 @@ static u64 stm32_rproc_get_vect_table(struct rproc *rproc, const struct firmware u64 offset = elf_shdr_get_sh_offset(class, shdr); u32 name = elf_shdr_get_sh_name(class, shdr); - if (strcmp(name_table + name, ".isr_vectors")) + if (strcmp(name_table + name, ".isr_vectors")&& + strcmp(name_table + name, "A0")) continue; /* make sure we have the entire table */