]> git.baikalelectronics.ru Git - uboot.git/commit
sound: x86: Add beeping support in i8254
authorSimon Glass <sjg@chromium.org>
Sun, 17 Feb 2019 03:24:58 +0000 (20:24 -0700)
committerBin Meng <bmeng.cn@gmail.com>
Wed, 20 Feb 2019 07:27:09 +0000 (15:27 +0800)
commit3e23d9e72c772862b800c25c609f084138978562
treedb2de64e2bced1305e1c0a8512c84cfc0c39d42d
parent36c535361e3a5909fd270295691f5631b880b7b6
sound: x86: Add beeping support in i8254

Adjust the code to allow beeping at different frequencies, using a
calculated value for timer 2.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
arch/x86/include/asm/i8254.h
arch/x86/lib/i8254.c