From 750ac17e090820eb8513522b36c2327c4d5e97c3 Mon Sep 17 00:00:00 2001 From: Jukka Laitinen Date: Thu, 21 Nov 2024 13:15:59 +0200 Subject: [PATCH 1/2] src/include/image_toc.h: Add missing TOC flags TOC_FLAG2_USE_SBI - boot via SBI TOC_FLAG2_RELATIVE_ADRESSES - TOC start and end are file offsets, copy-to address is separate Signed-off-by: Jukka Laitinen --- src/include/image_toc.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/include/image_toc.h b/src/include/image_toc.h index 048eaeeb24da..b20883ace9ad 100644 --- a/src/include/image_toc.h +++ b/src/include/image_toc.h @@ -51,6 +51,9 @@ #define TOC_FLAG1_ICFG 0x40 #define TOC_FLAG1_RDCT 0x80 +#define TOC_FLAG2_USE_SBI 0x1 +#define TOC_FLAG2_RELATIVE_ADRESSES 0x2 + #define TOC_START_MAGIC 0x00434f54 /* "TOC" */ #define TOC_END_MAGIC 0x00444e45 /* "END" */ From 8bac884461e1daa80e47edb359007a6af0fec8e7 Mon Sep 17 00:00:00 2001 From: Jukka Laitinen Date: Thu, 21 Nov 2024 13:18:11 +0200 Subject: [PATCH 2/2] Update ssrc submodules for TOC updates Signed-off-by: Jukka Laitinen --- boards/ssrc/common | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/boards/ssrc/common b/boards/ssrc/common index 74c2f40a21e8..aeed47474f05 160000 --- a/boards/ssrc/common +++ b/boards/ssrc/common @@ -1 +1 @@ -Subproject commit 74c2f40a21e8c3f24ed6bc61c2052f1df20d1c18 +Subproject commit aeed47474f0567f1f6f90d5567d2d176bd0eeeaf