]> Git Repo - J-u-boot.git/blame - drivers/sound/sandbox.c
SPDX: Convert all of our single license tags to Linux Kernel style
[J-u-boot.git] / drivers / sound / sandbox.c
CommitLineData
83d290c5 1// SPDX-License-Identifier: GPL-2.0+
c34c0246
SG
2/*
3 * Copyright (c) 2013 Google, Inc
c34c0246
SG
4 */
5
6#include <common.h>
a8b0f9b6 7#include <asm/sound.h>
c34c0246
SG
8#include <asm/sdl.h>
9
10int sound_play(uint32_t msec, uint32_t frequency)
11{
12 sandbox_sdl_sound_start(frequency);
13 mdelay(msec);
14 sandbox_sdl_sound_stop();
15
16 return 0;
17}
18
19int sound_init(const void *blob)
20{
21 return sandbox_sdl_sound_init();
22}
This page took 0.273461 seconds and 4 git commands to generate.