Skip to content

Commit e38a68d

Browse files
bors[bot]orangecms
andauthored
Merge #107
107: fix reading marchid and mimpid r=Disasm a=orangecms It seems to have been a copy-paste error. We ran into a very nasty bug in oreboot on the Allwinner D1 (C906) where an errata patch in Linux relies on those two being zero. Signed-off-by: Daniel Maslowski <[email protected]> Co-authored-by: Daniel Maslowski <[email protected]>
2 parents 6073fab + 4f84bd2 commit e38a68d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/register/marchid.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ impl Marchid {
1616
}
1717
}
1818

19-
read_csr!(0xF11);
19+
read_csr!(0xF12);
2020

2121
/// Reads the CSR
2222
#[inline]

src/register/mimpid.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ impl Mimpid {
1616
}
1717
}
1818

19-
read_csr!(0xF11);
19+
read_csr!(0xF13);
2020

2121
/// Reads the CSR
2222
#[inline]

0 commit comments

Comments
 (0)