Blame view

bootloader/u-boot_2015_04/drivers/sound/sandbox.c 364 Bytes
6b13f685e   김민수   BSP 최초 추가
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
  /*
   * Copyright (c) 2013 Google, Inc
   *
   * SPDX-License-Identifier:	GPL-2.0+
   */
  
  #include <common.h>
  #include <asm/sound.h>
  #include <asm/sdl.h>
  
  int sound_play(uint32_t msec, uint32_t frequency)
  {
  	sandbox_sdl_sound_start(frequency);
  	mdelay(msec);
  	sandbox_sdl_sound_stop();
  
  	return 0;
  }
  
  int sound_init(const void *blob)
  {
  	return sandbox_sdl_sound_init();
  }