Re: [edk2-devel] [PATCH edk2-platforms 3/5] Platform/RaspberryPi: fix 16550 divisor calculation logic

2020-05-06 Thread Ard Biesheuvel
On 5/6/20 12:18 PM, Pete Batard wrote: One general remark below: On 2020.05.05 19:10, Ard Biesheuvel wrote: On 5/5/20 4:50 PM, Ard Biesheuvel wrote: The 16550 'miniUART' on the Raspberry Pi gets its input clock from different sources on RPi3 and RPi3. Fix the logic that derives the This shou

Re: [edk2-devel] [PATCH edk2-platforms 3/5] Platform/RaspberryPi: fix 16550 divisor calculation logic

2020-05-06 Thread Pete Batard
One general remark below: On 2020.05.05 19:10, Ard Biesheuvel wrote: On 5/5/20 4:50 PM, Ard Biesheuvel wrote: The 16550 'miniUART' on the Raspberry Pi gets its input clock from different sources on RPi3 and RPi3. Fix the logic that derives the This should be 'Rpi3 and RPi4' divisor for the

Re: [edk2-devel] [PATCH edk2-platforms 3/5] Platform/RaspberryPi: fix 16550 divisor calculation logic

2020-05-05 Thread Ard Biesheuvel
On 5/5/20 4:50 PM, Ard Biesheuvel wrote: The 16550 'miniUART' on the Raspberry Pi gets its input clock from different sources on RPi3 and RPi3. Fix the logic that derives the This should be 'Rpi3 and RPi4' divisor for the 16550 baud clock on the respective platforms. While at it, make the in

[edk2-devel] [PATCH edk2-platforms 3/5] Platform/RaspberryPi: fix 16550 divisor calculation logic

2020-05-05 Thread Ard Biesheuvel
The 16550 'miniUART' on the Raspberry Pi gets its input clock from different sources on RPi3 and RPi3. Fix the logic that derives the divisor for the 16550 baud clock on the respective platforms. While at it, make the input clock PCD patchable for RPi3 so we can manipulate it at runtime in a futur