
18 Feb
2019
18 Feb
'19
10:46 a.m.
On Sun, Feb 17, 2019 at 11:26 AM Simon Glass sjg@chromium.org wrote:
Adjust the code to allow beeping at different frequencies, using a calculated value for timer 2.
Signed-off-by: Simon Glass sjg@chromium.org
Changes in v2:
- Rename PPC_PORTB to SYSCTL_PORTB
- Use PIT_TICK_RATE instead of creating a new define
arch/x86/include/asm/i8254.h | 18 ++++++++++++++++++ arch/x86/lib/i8254.c | 35 +++++++++++++++++++++++++++++++---- 2 files changed, 49 insertions(+), 4 deletions(-)
Reviewed-by: Bin Meng bmeng.cn@gmail.com