Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
setup.c File Reference
#include <linux/bcd.h>
#include <linux/init.h>
#include <linux/kernel.h>
#include <linux/export.h>
#include <linux/types.h>
#include <linux/mm.h>
#include <linux/bootmem.h>
#include <linux/swap.h>
#include <linux/ioport.h>
#include <linux/sched.h>
#include <linux/interrupt.h>
#include <linux/timex.h>
#include <linux/termios.h>
#include <linux/tty.h>
#include <linux/serial.h>
#include <linux/serial_core.h>
#include <linux/serial_8250.h>
#include <asm/time.h>
#include <asm/bootinfo.h>
#include <asm/page.h>
#include <asm/io.h>
#include <asm/irq.h>
#include <asm/processor.h>
#include <asm/reboot.h>
#include <asm/serial.h>
#include <asm/titan_dep.h>
#include <asm/m48t37.h>
#include "setup.h"

Go to the source code of this file.

Macros

#define TITAN_UART_CLK   3686400
 
#define TITAN_SERIAL_BASE_BAUD   (TITAN_UART_CLK / 16)
 
#define TITAN_SERIAL_IRQ   4
 
#define TITAN_SERIAL_BASE   0xfd000008UL
 

Functions

void __init bus_error_init (void)
 
void read_persistent_clock (struct timespec *ts)
 
int rtc_mips_set_time (unsigned long tim)
 
void __init plat_time_init (void)
 
 EXPORT_SYMBOL (ocd_base)
 
void __init plat_mem_setup (void)
 

Variables

unsigned char titan_ge_mac_addr_base [6]
 
unsigned long cpu_clock_freq
 
unsigned long yosemite_base
 
unsigned long ocd_base
 

Macro Definition Documentation

#define TITAN_SERIAL_BASE   0xfd000008UL

Definition at line 159 of file setup.c.

#define TITAN_SERIAL_BASE_BAUD   (TITAN_UART_CLK / 16)

Definition at line 157 of file setup.c.

#define TITAN_SERIAL_IRQ   4

Definition at line 158 of file setup.c.

#define TITAN_UART_CLK   3686400

Definition at line 156 of file setup.c.

Function Documentation

void __init bus_error_init ( void  )

Definition at line 68 of file setup.c.

EXPORT_SYMBOL ( ocd_base  )
void __init plat_mem_setup ( void  )

Definition at line 209 of file setup.c.

void __init plat_time_init ( void  )

Definition at line 142 of file setup.c.

void read_persistent_clock ( struct timespec ts)

Definition at line 74 of file setup.c.

int rtc_mips_set_time ( unsigned long  tim)

Definition at line 100 of file setup.c.

Variable Documentation

unsigned long cpu_clock_freq

Definition at line 63 of file setup.c.

unsigned long ocd_base

Definition at line 148 of file setup.c.

unsigned char titan_ge_mac_addr_base[6]
Initial value:
= {
0x00, 0xe0, 0x04, 0x00, 0x00, 0x21
}

Definition at line 58 of file setup.c.

unsigned long yosemite_base

Definition at line 64 of file setup.c.