#include <linux/genhd.h>
#include <linux/slab.h>
#include <linux/module.h>
#include <linux/delay.h>
#include <linux/mtd/mtd.h>
#include <linux/mtd/nand.h>
#include <linux/mtd/nand_ecc.h>
#include <linux/mtd/partitions.h>
#include <linux/mtd/sharpsl.h>
#include <linux/interrupt.h>
#include <linux/platform_device.h>
#include <asm/io.h>
#include <mach/hardware.h>
#include <asm/mach-types.h>
Go to the source code of this file.
#define ECCCLRR 0x10 /* cleare ECC */ |
#define ECCCNTR 0x0C /* ECC byte counter */ |
#define ECCCP 0x08 /* column parity 5 - 0 bit */ |
#define ECCLPLB 0x00 /* line parity 7 - 0 bit */ |
#define ECCLPUB 0x04 /* line parity 15 - 8 bit */ |
#define FLASHCTL 0x18 /* Flash Control */ |
#define FLASHIO 0x14 /* Flash I/O */ |
MODULE_DESCRIPTION |
( |
"Device specific logic for NAND flash on Sharp SL-C7xx Series" |
| ) |
|
module_platform_driver |
( |
sharpsl_nand_driver |
| ) |
|