We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4bf8c01 commit 119044fCopy full SHA for 119044f
tool/microkit/src/uimage.rs
@@ -51,7 +51,7 @@ struct UbootLegacyImgHeader {
51
52
// Bits 0:15 minor, bits 16:31 major
53
// Linux defines this to be 0.2 currently
54
-const LINUX_RISCV_HEADER_VERSION: u32 = 2 << 16;
+const LINUX_RISCV_HEADER_VERSION: u32 = 2;
55
56
const LINUX_RISCV_HEADER_MAGIC: u64 = 0x5643534952;
57
const LINUX_RISCV_HEADER_MAGIC2: u32 = 0x05435352;
0 commit comments