Skip to content

Commit 119044f

Browse files
tool: fix version in Linux uImage header
Signed-off-by: Ivan Velickovic <[email protected]>
1 parent 4bf8c01 commit 119044f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tool/microkit/src/uimage.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ struct UbootLegacyImgHeader {
5151

5252
// Bits 0:15 minor, bits 16:31 major
5353
// Linux defines this to be 0.2 currently
54-
const LINUX_RISCV_HEADER_VERSION: u32 = 2 << 16;
54+
const LINUX_RISCV_HEADER_VERSION: u32 = 2;
5555

5656
const LINUX_RISCV_HEADER_MAGIC: u64 = 0x5643534952;
5757
const LINUX_RISCV_HEADER_MAGIC2: u32 = 0x05435352;

0 commit comments

Comments
 (0)