1
0
mirror of git://projects.qi-hardware.com/xburst-tools.git synced 2025-04-21 12:27:27 +03:00

qi-add-post-serial-init-api.patch

It can be useful to have a device API that can print device-specific things
after serial is initialized.

Signed-off-by: Andy Green <andy@openmoko.com>
This commit is contained in:
Andy Green
2009-02-03 18:06:36 +00:00
committed by Andy Green
parent 53279b5983
commit dd2344a9c7
3 changed files with 16 additions and 0 deletions

View File

@@ -101,6 +101,7 @@ struct board_api {
int (*is_this_board)(void);
void (*early_port_init)(void);
void (*port_init)(void);
void (*post_serial_init)(void); /* print device-specific things */
void (*putc)(char);
void (*close)(void);
u8 (*get_ui_keys)(void);