Linux Kernel
3.7.1
|
#include <linux/slab.h>
#include <linux/init.h>
#include <linux/module.h>
#include <linux/mtd/mtd.h>
#include <linux/mtd/nand.h>
#include <linux/mtd/partitions.h>
#include <arch/memmap.h>
#include <hwregs/reg_map.h>
#include <hwregs/reg_rdwr.h>
#include <hwregs/gio_defs.h>
#include <hwregs/bif_core_defs.h>
#include <asm/io.h>
Go to the source code of this file.
Data Structures | |
struct | mtd_info_wrapper |
Macros | |
#define | CE_BIT 4 |
#define | CLE_BIT 5 |
#define | ALE_BIT 6 |
#define | BY_BIT 7 |
#define | PIN_BITMASK ((1 << CE_BIT) | (1 << CLE_BIT) | (1 << ALE_BIT)) |
#define | CTRL_BITMASK (NAND_NCE | NAND_CLE | NAND_ALE) |
Functions | |
struct mtd_info *__init | crisv32_nand_flash_probe (void) |
#define ALE_BIT 6 |
Definition at line 30 of file nandflash.c.
#define BY_BIT 7 |
Definition at line 31 of file nandflash.c.
#define CE_BIT 4 |
Definition at line 28 of file nandflash.c.
#define CLE_BIT 5 |
Definition at line 29 of file nandflash.c.
Definition at line 42 of file nandflash.c.
Definition at line 39 of file nandflash.c.