summaryrefslogtreecommitdiff
path: root/drivers/i2c/i2c-cdns.c
diff options
context:
space:
mode:
authorBin Meng <bmeng.cn@gmail.com>2019-02-26 01:52:19 -0800
committerBin Meng <bmeng.cn@gmail.com>2019-03-11 22:55:01 +0800
commit7d0a53a40cee6e40c173b782f26f5a2317cf39b5 (patch)
tree4bf997affe156ab4757df57f031ad500a0278b47 /drivers/i2c/i2c-cdns.c
parentd9b59fc9ae198785c1adce1462bd73ee56465d4e (diff)
x86: Make sure i8254 is setup correctly before generating beeps
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.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/i2c/i2c-cdns.c')
0 files changed, 0 insertions, 0 deletions