Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Functions | Variables
platform-flash.c File Reference
#include <linux/device.h>
#include <linux/platform_device.h>
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/io.h>
#include <linux/delay.h>
#include <linux/ioport.h>
#include <linux/resource.h>
#include <linux/spi/flash.h>
#include <linux/mtd/mtd.h>
#include <linux/mtd/physmap.h>
#include <linux/mtd/nand.h>
#include <linux/mtd/partitions.h>
#include <asm/netlogic/haldefs.h>
#include <asm/netlogic/xlr/iomap.h>
#include <asm/netlogic/xlr/flash.h>
#include <asm/netlogic/xlr/bridge.h>
#include <asm/netlogic/xlr/gpio.h>
#include <asm/netlogic/xlr/xlr.h>

Go to the source code of this file.

Data Structures

struct  xlr_nand_flash_priv
 

Functions

 arch_initcall (xlr_flash_init)
 

Variables

struct physmap_flash_data xlr_nor_data
 
const charxlr_part_probes [] = { "cmdlinepart", NULL }
 
struct platform_nand_data xlr_nand_data
 

Function Documentation

arch_initcall ( xlr_flash_init  )

Variable Documentation

struct platform_nand_data xlr_nand_data
Initial value:
= {
.chip = {
.nr_chips = 1,
.nr_partitions = ARRAY_SIZE(xlr_nand_parts),
.chip_delay = 50,
.partitions = xlr_nand_parts,
.part_probe_types = xlr_part_probes,
},
.ctrl = {
.cmd_ctrl = xlr_nand_ctrl,
},
}

Definition at line 108 of file platform-flash.c.

struct physmap_flash_data xlr_nor_data
Initial value:
= {
.width = 2,
.parts = xlr_nor_parts,
.nr_parts = ARRAY_SIZE(xlr_nor_parts),
}

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

const char* xlr_part_probes[] = { "cmdlinepart", NULL }

Definition at line 81 of file platform-flash.c.