Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
sead3-console.c File Reference
#include <linux/init.h>
#include <linux/console.h>
#include <linux/serial_reg.h>
#include <linux/io.h>

Go to the source code of this file.

Macros

#define SEAD_UART1_REGS_BASE   0xbf000800 /* ttyS1 = DB9 port */
 
#define SEAD_UART0_REGS_BASE   0xbf000900 /* ttyS0 = USB port */
 
#define PORT(base_addr, offset)   ((unsigned int __iomem *)(base_addr+(offset)*4))
 

Functions

void __init prom_init_early_console (char port)
 
int prom_putchar (char c)
 

Macro Definition Documentation

#define PORT (   base_addr,
  offset 
)    ((unsigned int __iomem *)(base_addr+(offset)*4))

Definition at line 15 of file sead3-console.c.

#define SEAD_UART0_REGS_BASE   0xbf000900 /* ttyS0 = USB port */

Definition at line 14 of file sead3-console.c.

#define SEAD_UART1_REGS_BASE   0xbf000800 /* ttyS1 = DB9 port */

Definition at line 13 of file sead3-console.c.

Function Documentation

void __init prom_init_early_console ( char  port)

Definition at line 29 of file sead3-console.c.

int prom_putchar ( char  c)

Definition at line 34 of file sead3-console.c.