Skip to content

Commit

Permalink
devices/legacy: use pl011 for earlycon in aarch64
Browse files Browse the repository at this point in the history
Follow up of 5329be7 commit. It is more common to have a PL011 than
UART.

Signed-off-by: Matias Ezequiel Vara Larsen <[email protected]>
  • Loading branch information
MatiasVara committed Sep 4, 2024
1 parent d1c4d07 commit 234dfdc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vmm/src/device_manager/kvm/mmio.rs
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ impl MMIODeviceManager {
.map_err(Error::BusError)?;

cmdline
.insert("earlycon", &format!("uart,mmio,0x{:08x}", self.mmio_base))
.insert("earlycon", &format!("pl011,mmio32,0x{:08x}", self.mmio_base))
.map_err(Error::Cmdline)?;

let ret = self.mmio_base;
Expand Down

0 comments on commit 234dfdc

Please sign in to comment.