Linux Kernel
3.7.1
|
#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_info * | axisflash_mtd = NULL |
#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.
Definition at line 105 of file nandflash.c.
EXPORT_SYMBOL | ( | axisflash_mtd | ) |
module_init | ( | init_axis_flash | ) |
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 |