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/stddef.h>
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/errno.h>
#include <linux/reboot.h>
#include <linux/kdev_t.h>
#include <linux/types.h>
#include <linux/major.h>
#include <linux/console.h>
#include <linux/delay.h>
#include <linux/stringify.h>
#include <linux/platform_device.h>
#include <linux/serial.h>
#include <linux/serial_8250.h>
#include <asm/processor.h>
#include <asm/platform.h>
#include <asm/bootparam.h>
#include <platform/hardware.h>
#include <platform/serial.h>

Go to the source code of this file.

Macros

#define _SERIAL_PORT(_base, _irq)
 

Functions

void platform_halt (void)
 
void platform_power_off (void)
 
void platform_restart (void)
 
void __init platform_setup (char **cmdline)
 
void platform_init (bp_tag_t *first)
 
void platform_heartbeat (void)
 
 device_initcall (xt2000_setup_devinit)
 

Variables

sysmem_info_t __initdata sysmem
 

Macro Definition Documentation

#define _SERIAL_PORT (   _base,
  _irq 
)
Value:
{ \
.mapbase = (_base), \
.membase = (void*)(_base), \
.irq = (_irq), \
.uartclk = DUART16552_XTAL_FREQ, \
.iotype = UPIO_MEM, \
.flags = UPF_BOOT_AUTOCONF, \
.regshift = 2, \
}

Definition at line 124 of file setup.c.

Function Documentation

device_initcall ( xt2000_setup_devinit  )
void platform_halt ( void  )

Definition at line 49 of file setup.c.

void platform_heartbeat ( void  )

Definition at line 109 of file setup.c.

void platform_init ( bp_tag_t first)

Definition at line 95 of file setup.c.

void platform_power_off ( void  )

Definition at line 56 of file setup.c.

void platform_restart ( void  )

Definition at line 63 of file setup.c.

void __init platform_setup ( char **  cmdline)

Definition at line 86 of file setup.c.

Variable Documentation

Definition at line 78 of file setup.c.