Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
spia.c File Reference
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/slab.h>
#include <linux/module.h>
#include <linux/mtd/mtd.h>
#include <linux/mtd/nand.h>
#include <linux/mtd/partitions.h>
#include <asm/io.h>

Go to the source code of this file.

Macros

#define SPIA_IO_BASE   0xd0000000 /* Start of EP7212 IO address space */
 
#define SPIA_FIO_BASE   0xf0000000 /* Address where flash is mapped */
 
#define SPIA_PEDR
 
#define SPIA_PEDDR
 
#define NUM_PARTITIONS   2
 

Functions

 module_param (spia_io_base, int, 0)
 
 module_param (spia_fio_base, int, 0)
 
 module_param (spia_pedr, int, 0)
 
 module_param (spia_peddr, int, 0)
 
 module_init (spia_init)
 
 module_exit (spia_cleanup)
 
 MODULE_LICENSE ("GPL")
 
 MODULE_AUTHOR ("Steven J. Hill <[email protected]")
 
 MODULE_DESCRIPTION ("Board-specific glue layer for NAND flash on SPIA board")
 

Macro Definition Documentation

#define NUM_PARTITIONS   2

Definition at line 71 of file spia.c.

#define SPIA_FIO_BASE   0xf0000000 /* Address where flash is mapped */

Definition at line 39 of file spia.c.

#define SPIA_IO_BASE   0xd0000000 /* Start of EP7212 IO address space */

Definition at line 38 of file spia.c.

#define SPIA_PEDDR
Value:
0x00c0 /*
* IO offset to Port E data direction
* register so we can control the IO
* lines.
*/

Definition at line 41 of file spia.c.

#define SPIA_PEDR
Value:
0x0080 /*
* IO offset to Port E data register
* where the CLE, ALE and NCE pins
* are wired to.
*/

Definition at line 40 of file spia.c.

Function Documentation

MODULE_AUTHOR ( )
MODULE_DESCRIPTION ( "Board-specific glue layer for NAND flash on SPIA board )
module_exit ( spia_cleanup  )
module_init ( spia_init  )
MODULE_LICENSE ( "GPL"  )
module_param ( spia_io_base  ,
int  ,
 
)
module_param ( spia_fio_base  ,
int  ,
 
)
module_param ( spia_pedr  ,
int  ,
 
)
module_param ( spia_peddr  ,
int  ,
 
)