Re: [U-Boot] [PATCH 1/4] x86: Make sure i8254 is setup correctly before generating beeps

2019-03-11 Thread Bin Meng
On Mon, Mar 11, 2019 at 5:51 AM Simon Glass wrote: > > On Tue, 26 Feb 2019 at 02:47, Bin Meng 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

Re: [U-Boot] [PATCH 1/4] x86: Make sure i8254 is setup correctly before generating beeps

2019-03-10 Thread Simon Glass
On Tue, 26 Feb 2019 at 02:47, Bin Meng 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

[U-Boot] [PATCH 1/4] x86: Make sure i8254 is setup correctly before generating beeps

2019-02-26 Thread Bin Meng
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