Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
platform.c File Reference
#include <linux/init.h>
#include <linux/mtd/mtd.h>
#include <linux/mtd/map.h>
#include <linux/mtd/physmap.h>
#include <linux/slab.h>
#include <linux/platform_device.h>
#include <linux/pm.h>
#include <asm/bootinfo.h>
#include <asm/reboot.h>
#include <asm/mach-au1x00/au1000.h>
#include <asm/mach-db1x00/bcsr.h>
#include <prom.h>

Go to the source code of this file.

Macros

#define YAMON_SIZE   0x00100000
 
#define YAMON_ENV_SIZE   0x00040000
 

Functions

void __init prom_init (void)
 
void prom_putchar (unsigned char c)
 
 device_initcall (db1x_late_setup)
 
int __init db1x_register_pcmcia_socket (phys_addr_t pcmcia_attr_start, phys_addr_t pcmcia_attr_end, phys_addr_t pcmcia_mem_start, phys_addr_t pcmcia_mem_end, phys_addr_t pcmcia_io_start, phys_addr_t pcmcia_io_end, int card_irq, int cd_irq, int stschg_irq, int eject_irq, int id)
 
int __init db1x_register_norflash (unsigned long size, int width, int swapped)
 

Macro Definition Documentation

#define YAMON_ENV_SIZE   0x00040000

Definition at line 162 of file platform.c.

#define YAMON_SIZE   0x00100000

Definition at line 161 of file platform.c.

Function Documentation

int __init db1x_register_norflash ( unsigned long  size,
int  width,
int  swapped 
)

Definition at line 164 of file platform.c.

int __init db1x_register_pcmcia_socket ( phys_addr_t  pcmcia_attr_start,
phys_addr_t  pcmcia_attr_end,
phys_addr_t  pcmcia_mem_start,
phys_addr_t  pcmcia_mem_end,
phys_addr_t  pcmcia_io_start,
phys_addr_t  pcmcia_io_end,
int  card_irq,
int  cd_irq,
int  stschg_irq,
int  eject_irq,
int  id 
)

Definition at line 80 of file platform.c.

device_initcall ( db1x_late_setup  )
void __init prom_init ( void  )

Definition at line 20 of file platform.c.

void prom_putchar ( unsigned char  c)

Definition at line 37 of file platform.c.