Skip to content
Commit baada3fb authored by Rebecca Cran's avatar Rebecca Cran Committed by Ard Biesheuvel
Browse files

Platform/ARM/JunoPkg: Switch to MdeModulePkg/Universal/Metronome driver



The MetronomeDxe driver uses the PCD PcdMetronomeTickPeriod to calculate
how many ticks to wait in MicroSecondDelay. Given that the timer clock
on Juno runs at 50 MHz, it ticks every 20 ns; therefore, a setting of
1000 is wrong: for example it causes a call to gBS->Stall (1) to take
10 us.

The driver in MdeModulePkg/Universal/Metronome assumes the clock ticks
at least every 100 ns, which is the minimum allowed by the Metronome
protocol. Since that's the case on Juno, switch from
EmbeddedPkg/MetronomeDxe to MdeModulePkg/Universal/Metronome.

Signed-off-by: default avatarRebecca Cran <rebecca@quicinc.com>
Reviewed-by: default avatarArd Biesheuvel <ardb@kernel.org>
parent 81ec4417
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment