diff options
author | Dylan Reid <dgreid@chromium.org> | 2011-12-16 10:37:05 -0800 |
---|---|---|
committer | Dylan Reid <dgreid@chromium.org> | 2011-12-16 14:40:59 -0800 |
commit | c4db02fb9289235a0875c6226fe7fd3dd18adf55 (patch) | |
tree | 0af48f2dfa01a1ad47518be0443ef4550b24a045 /include/chromeos | |
parent | 95711296fae612c0334c889dc6f3183139d7344b (diff) |
Add beep for x86 chormeos.
Implement the VbExBeep function so that the DEV screen can beep.
Much of this code was coppied from coreboot.
BUG=chrome-os-partner:7114
TEST=manual, check that Stumpy beeps on DEV screen timeout and when
booting from USB with dev_boot_usb=0.
Change-Id: Icd4eabb0b10cc3d226db71e6a2b52d3ed7eb25ef
Signed-off-by: Dylan Reid <dgreid@chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/13110
Reviewed-by: Stefan Reinauer <reinauer@chromium.org>
Diffstat (limited to 'include/chromeos')
-rw-r--r-- | include/chromeos/hda_codec.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/include/chromeos/hda_codec.h b/include/chromeos/hda_codec.h new file mode 100644 index 0000000000..e10a097469 --- /dev/null +++ b/include/chromeos/hda_codec.h @@ -0,0 +1,20 @@ +/* + * Copyright (c) 2011 The Chromium OS Authors. All rights reserved. + * Use of this source code is governed by a BSD-style license that can be + * found in the LICENSE file. + * + * Alternatively, this software may be distributed under the terms of the + * GNU General Public License ("GPL") version 2 as published by the Free + * Software Foundation. + */ + +/* HDA codec interface for Chrome OS verified boot */ + +#ifndef CHROMEOS_HDA_CODEC_H_ +#define CHROMEOS_HDA_CODEC_H_ + +/* Beep control */ +void enable_beep(void); +void disable_beep(void); + +#endif /* CHROMEOS_PHDA_CODEC_H_ */ |