mirror of
https://github.com/drasko/codezero.git
synced 2026-01-12 10:53:16 +01:00
21 lines
435 B
C
21 lines
435 B
C
/*
|
|
* Platform specific ties to generic uart functions that putc expects.
|
|
*
|
|
* Copyright (C) 2007 Bahadir Balban
|
|
*
|
|
*/
|
|
|
|
#ifndef __PLATFORM_PB926_UART_H__
|
|
#define __PLATFORM_PB926_UART_H__
|
|
|
|
#include INC_PLAT(offsets.h)
|
|
#include INC_GLUE(memlayout.h)
|
|
|
|
#define PLATFORM_CONSOLE_BASE PB926_UART0_VBASE
|
|
#include <l4/drivers/uart/pl011/pl011_uart.h>
|
|
|
|
void uart_init(void);
|
|
void uart_putc(char c);
|
|
|
|
#endif /* __PLATFORM_PB926_UART_H__ */
|