[edk2-devel] [edk2-platforms][PATCH 1/1] Platform/RaspberryPi: Fix mini UART baud divisor calculation

Mario Bălănică mariobalanica02 at gmail.com
Sat Apr 3 16:15:20 UTC 2021


> 
> > -#if (RPI_MODEL == 4)
> > -  Divisor = MmioRead32(BCM2836_CM_BASE +
> BCM2836_CM_VPU_CLOCK_DIVISOR) & 0xFFFFFF;
> > -  if (Divisor != 0)
> > -    BaseClockRate = (BaseClockRate << 12) / Divisor;
> > -#endif
> 

Keeping this doesn't interfere with the rest of the patch. I've removed it only because it's useless on the latest firmware.


-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#73670): https://edk2.groups.io/g/devel/message/73670
Mute This Topic: https://groups.io/mt/81808942/1813853
Group Owner: devel+owner at edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [edk2-devel-archive at redhat.com]
-=-=-=-=-=-=-=-=-=-=-=-


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/edk2-devel-archive/attachments/20210403/8814aef8/attachment.htm>


More information about the edk2-devel-archive mailing list