Skip to content

Commit

Permalink
src/include/image_toc.h: Add missing TOC flags
Browse files Browse the repository at this point in the history
 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 <[email protected]>
  • Loading branch information
jlaitine committed Nov 21, 2024
1 parent 87d267a commit 2b61bef
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/include/image_toc.h
Original file line number Diff line number Diff line change
Expand Up @@ -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" */

Expand Down

0 comments on commit 2b61bef

Please sign in to comment.