[U-Boot] [PATCH v2 25/34] sound: x86: Add beeping support in i8254

Bin Meng bmeng.cn at gmail.com
Mon Feb 18 09:46:51 UTC 2019


On Sun, Feb 17, 2019 at 11:26 AM Simon Glass <sjg at 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 at 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 at gmail.com>


More information about the U-Boot mailing list