Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
dbox2-flash.c File Reference
#include <linux/module.h>
#include <linux/types.h>
#include <linux/kernel.h>
#include <linux/init.h>
#include <asm/io.h>
#include <linux/mtd/mtd.h>
#include <linux/mtd/map.h>
#include <linux/mtd/partitions.h>
#include <linux/errno.h>

Go to the source code of this file.

Macros

#define NUM_PARTITIONS   ARRAY_SIZE(partition_info)
 
#define WINDOW_ADDR   0x10000000
 
#define WINDOW_SIZE   0x800000
 

Functions

 module_init (init_dbox2_flash)
 
 module_exit (cleanup_dbox2_flash)
 
 MODULE_LICENSE ("GPL")
 
 MODULE_AUTHOR ("Kári Davíðsson <kd@flaga.is>, Bastian Blank <[email protected]>, Alexander Wild <[email protected]>")
 
 MODULE_DESCRIPTION ("MTD map driver for D-Box 2 board")
 

Variables

struct map_info dbox2_flash_map
 

Macro Definition Documentation

#define NUM_PARTITIONS   ARRAY_SIZE(partition_info)

Definition at line 57 of file dbox2-flash.c.

#define WINDOW_ADDR   0x10000000

Definition at line 59 of file dbox2-flash.c.

#define WINDOW_SIZE   0x800000

Definition at line 60 of file dbox2-flash.c.

Function Documentation

MODULE_AUTHOR ( "Kári Davíðsson <kd@flaga.is ,
Bastian Blank< waldi @tuxbox.org >  ,
Alexander Wild< wild @te-elektronik.com >"   
)
MODULE_DESCRIPTION ( "MTD map driver for D-Box 2 board )
module_exit ( cleanup_dbox2_flash  )
module_init ( init_dbox2_flash  )
MODULE_LICENSE ( "GPL"  )

Variable Documentation

struct map_info dbox2_flash_map
Initial value:
= {
.name = "D-Box 2 flash memory",
.size = WINDOW_SIZE,
.bankwidth = 4,
.phys = WINDOW_ADDR,
}

Definition at line 65 of file dbox2-flash.c.