Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
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 <asm/axisflashmap.h>
#include <asm/mmu.h>
#include <arch/sv_addr_ag.h>

Go to the source code of this file.

Macros

#define FLASH_UNCACHED_ADDR   KSEG_E
 
#define FLASH_CACHED_ADDR   KSEG_F
 
#define MAX_PARTITIONS   7
 
#define NUM_DEFAULT_PARTITIONS   3
 

Functions

 module_init (init_axis_flash)
 
 EXPORT_SYMBOL (axisflash_mtd)
 

Variables

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

Macro Definition Documentation

#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 115 of file axisflashmap.c.

#define NUM_DEFAULT_PARTITIONS   3

Definition at line 116 of file axisflashmap.c.

Function Documentation

EXPORT_SYMBOL ( axisflash_mtd  )
module_init ( init_axis_flash  )

Variable Documentation

struct mtd_info* axisflash_mtd = NULL

Definition at line 51 of file axisflashmap.c.

unsigned long romfs_in_flash
unsigned long romfs_length
unsigned long romfs_start