On Tue, 26 Feb 2019 at 02:47, Bin Meng <bmeng...@gmail.com> wrote:
>
> The i8254 timer control IO port (0x43) should be setup correctly
> by using PIT counter 2 to generate beeps, however in U-Boot other
> codes like TSC driver utilizes PIT for TSC frequency calibration
> and configures the counter 2 to a different mode that does not
> beep. Fix this by always ensuring the PIT counter 2 is correctly
> initialized so that the i8254 beeper driver works as expected.
>
> Signed-off-by: Bin Meng <bmeng...@gmail.com>
> ---
>
>  arch/x86/lib/i8254.c | 4 ++++
>  1 file changed, 4 insertions(+)

Reviewed-by: Simon Glass <s...@chromium.org>
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot

Reply via email to