Various small consistency fixes (trivial):

- Use _FOO_H include guard format everywhere.

 - Add missing speaker.c prototypes to libpayload.h.

 - Consistently use short form u8/u16/u32 instead of uint8_t et. al.

 - kcofig: Use 'depends on' instead of 'depends', which seems deprecated.

Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>



git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3234 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
Uwe Hermann
2008-04-11 18:01:50 +00:00
parent 54315533cc
commit fad8c2bd7c
15 changed files with 70 additions and 65 deletions

View File

@ -27,8 +27,8 @@
* SUCH DAMAGE.
*/
#ifndef LIBPAYLOAD_H
#define LIBPAYLOAD_H
#ifndef _LIBPAYLOAD_H
#define _LIBPAYLOAD_H
#include <autoconf.h>
#include <stddef.h>
@ -78,6 +78,11 @@ void serial_putchar(unsigned char c);
int serial_havechar(void);
int serial_getchar(void);
/* drivers/speaker.c */
void speaker_enable(u16 freq);
void speaker_disable(void);
void speaker_tone(u16 freq, unsigned int duration);
/* video/video.c */
int video_console_init(void);
void video_console_putchar(unsigned int ch);