Skip to content

Commit

Permalink
Merge pull request #9 from RIKEN-RCCS/fix-serial-detection
Browse files Browse the repository at this point in the history
fix serial port detection logic
  • Loading branch information
PG-MANA authored Aug 6, 2023
2 parents a0cacb8 + 93ede2e commit 8ff6a8e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/hypervisor_bootloader/src/dtb.rs
Original file line number Diff line number Diff line change
Expand Up @@ -457,7 +457,8 @@ impl DtbNode {
if let Some((p, _)) = s.search_pointer_to_property(PROP_STATUS, dtb)? {
Ok(Some(Self::match_string(p, PROP_STATUS_OKAY)))
} else {
Ok(None)
// A node is enabled if status property does not exist.
Ok(Some(true))
}
}

Expand Down

0 comments on commit 8ff6a8e

Please sign in to comment.