Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions | Variables
axisflashmap.c File Reference
#include <linux/module.h>
#include <linux/types.h>
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/slab.h>
#include <linux/mtd/concat.h>
#include <linux/mtd/map.h>
#include <linux/mtd/mtd.h>
#include <linux/mtd/mtdram.h>
#include <linux/mtd/partitions.h>
#include <linux/cramfs_fs.h>
#include <asm/axisflashmap.h>
#include <asm/mmu.h>

Go to the source code of this file.

Data Structures

struct  partition_name
 

Macros

#define MEM_CSE0_SIZE   (0x04000000)
 
#define MEM_CSE1_SIZE   (0x04000000)
 
#define FLASH_UNCACHED_ADDR   KSEG_E
 
#define FLASH_CACHED_ADDR   KSEG_F
 
#define PAGESIZE   (512)
 
#define MAX_PARTITIONS   7
 
#define NUM_DEFAULT_PARTITIONS   3
 
#define DEFAULT_ROOTFS_PARTITION_NO   (-1)
 
#define DEFAULT_MEDIA_SIZE   0x800000 /* 8 megs */
 
#define FILESYSTEM_SECTOR   (11 * CONFIG_ETRAX_PTABLE_SECTOR)
 

Functions

struct mtd_info *__init crisv32_nand_flash_probe (void)
 
 module_init (init_axis_flash)
 
 EXPORT_SYMBOL (axisflash_mtd)
 

Variables

unsigned long romfs_in_flash
 
unsigned long romfs_start
 
unsigned long romfs_length
 
unsigned long nand_boot
 
struct mtd_infoaxisflash_mtd = NULL
 

Macro Definition Documentation

#define DEFAULT_MEDIA_SIZE   0x800000 /* 8 megs */

Definition at line 129 of file axisflashmap.c.

#define DEFAULT_ROOTFS_PARTITION_NO   (-1)

Definition at line 128 of file axisflashmap.c.

#define FILESYSTEM_SECTOR   (11 * CONFIG_ETRAX_PTABLE_SECTOR)
#define FLASH_CACHED_ADDR   KSEG_F

Definition at line 36 of file axisflashmap.c.

#define FLASH_UNCACHED_ADDR   KSEG_E

Definition at line 35 of file axisflashmap.c.

#define MAX_PARTITIONS   7

Definition at line 121 of file axisflashmap.c.

#define MEM_CSE0_SIZE   (0x04000000)

Definition at line 32 of file axisflashmap.c.

#define MEM_CSE1_SIZE   (0x04000000)

Definition at line 33 of file axisflashmap.c.

#define NUM_DEFAULT_PARTITIONS   3

Definition at line 127 of file axisflashmap.c.

#define PAGESIZE   (512)

Definition at line 38 of file axisflashmap.c.

Function Documentation

struct mtd_info* __init crisv32_nand_flash_probe ( void  )
read

Definition at line 105 of file nandflash.c.

EXPORT_SYMBOL ( axisflash_mtd  )
module_init ( init_axis_flash  )

Variable Documentation

struct mtd_info* axisflash_mtd = NULL

Definition at line 58 of file axisflashmap.c.

unsigned long nand_boot
unsigned long romfs_in_flash
unsigned long romfs_length
unsigned long romfs_start