#include <linux/interrupt.h>
#include <linux/delay.h>
#include <linux/dma-mapping.h>
#include <linux/wait.h>
#include <linux/mutex.h>
#include <linux/slab.h>
#include <linux/pci.h>
#include <linux/mtd/mtd.h>
#include <linux/module.h>
#include "denali.h"
Go to the source code of this file.
#define BANK |
( |
|
x | ) |
((x) << 24) |
#define BANK |
( |
|
x | ) |
((x) << 24) |
#define CEIL_DIV |
( |
|
X, |
|
|
|
Y |
|
) |
| (((X)%(Y)) ? ((X)/(Y)+1) : ((X)/(Y))) |
#define CHIP_SELECT_INVALID -1 |
Value:
INTR_STATUS__ECC_TRANSACTION_DONE | \
INTR_STATUS__ECC_ERR | \
INTR_STATUS__PROGRAM_FAIL | \
INTR_STATUS__LOAD_COMP | \
INTR_STATUS__PROGRAM_COMP | \
INTR_STATUS__TIME_OUT | \
INTR_STATUS__ERASE_FAIL | \
INTR_STATUS__RST_COMP | \
INTR_STATUS__ERASE_COMP)
Definition at line 48 of file denali.c.
#define DENALI_NAND_NAME "denali-nand" |
#define DENALI_WRITE 0x100 |
#define ECC_SECTOR_SIZE 512 |
#define MAIN_SPARE_ACCESS 0x43 |
#define NAND_DEFAULT_TIMINGS -1 |
#define SPARE_ACCESS 0x41 |
#define SUPPORT_8BITECC 1 |
MODULE_DEVICE_TABLE |
( |
pci |
, |
|
|
denali_pci_ids |
|
|
) |
| |
MODULE_PARM_DESC |
( |
onfi_timing_mode |
, |
|
|
"Overrides default ONFI setting."" -1 indicates use default timings" |
|
|
) |
| |
module_pci_driver |
( |
denali_pci_driver |
| ) |
|