Linux Kernel
3.7.1
|
#include <linux/init.h>
#include <linux/slab.h>
#include <linux/module.h>
#include <linux/mtd/mtd.h>
#include <linux/mtd/nand.h>
#include <linux/mtd/partitions.h>
#include <asm/io.h>
#include <platforms/PPChameleonEVB.h>
Go to the source code of this file.
Macros | |
#define | USE_READY_BUSY_PIN |
#define | NAND_BIG_DELAY_US 25 |
#define | NAND_SMALL_DELAY_US 10 |
#define | SZ_4M 0x00400000 |
#define | NAND_SMALL_SIZE 0x02000000 |
#define | NAND_MTD_NAME "ppchameleon-nand" |
#define | NAND_EVB_MTD_NAME "ppchameleonevb-nand" |
#define | NAND_nCE_GPIO_PIN (0x80000000 >> 1) |
#define | NAND_CLE_GPIO_PIN (0x80000000 >> 2) |
#define | NAND_ALE_GPIO_PIN (0x80000000 >> 3) |
#define | NAND_RB_GPIO_PIN (0x80000000 >> 4) |
#define | NAND_EVB_nCE_GPIO_PIN (0x80000000 >> 14) |
#define | NAND_EVB_CLE_GPIO_PIN (0x80000000 >> 15) |
#define | NAND_EVB_ALE_GPIO_PIN (0x80000000 >> 16) |
#define | NAND_EVB_RB_GPIO_PIN (0x80000000 >> 31) |
#define | NUM_PARTITIONS 1 |
Functions | |
__setup ("ppchameleon_fio_pbase=", ppchameleon_fio_pbase) | |
module_init (ppchameleonevb_init) | |
module_exit (ppchameleonevb_cleanup) | |
MODULE_LICENSE ("GPL") | |
MODULE_AUTHOR ("DAVE Srl <support[email protected]>") | |
MODULE_DESCRIPTION ("MTD map driver for DAVE Srl PPChameleonEVB board") | |
#define NAND_ALE_GPIO_PIN (0x80000000 >> 3) |
Definition at line 48 of file ppchameleonevb.c.
#define NAND_BIG_DELAY_US 25 |
Definition at line 36 of file ppchameleonevb.c.
#define NAND_CLE_GPIO_PIN (0x80000000 >> 2) |
Definition at line 47 of file ppchameleonevb.c.
#define NAND_EVB_ALE_GPIO_PIN (0x80000000 >> 16) |
Definition at line 53 of file ppchameleonevb.c.
#define NAND_EVB_CLE_GPIO_PIN (0x80000000 >> 15) |
Definition at line 52 of file ppchameleonevb.c.
#define NAND_EVB_MTD_NAME "ppchameleonevb-nand" |
Definition at line 43 of file ppchameleonevb.c.
#define NAND_EVB_nCE_GPIO_PIN (0x80000000 >> 14) |
Definition at line 51 of file ppchameleonevb.c.
#define NAND_EVB_RB_GPIO_PIN (0x80000000 >> 31) |
Definition at line 54 of file ppchameleonevb.c.
#define NAND_MTD_NAME "ppchameleon-nand" |
Definition at line 42 of file ppchameleonevb.c.
#define NAND_nCE_GPIO_PIN (0x80000000 >> 1) |
Definition at line 46 of file ppchameleonevb.c.
#define NAND_RB_GPIO_PIN (0x80000000 >> 4) |
Definition at line 49 of file ppchameleonevb.c.
#define NAND_SMALL_DELAY_US 10 |
Definition at line 37 of file ppchameleonevb.c.
#define NAND_SMALL_SIZE 0x02000000 |
Definition at line 41 of file ppchameleonevb.c.
#define NUM_PARTITIONS 1 |
Definition at line 100 of file ppchameleonevb.c.
#define SZ_4M 0x00400000 |
Definition at line 40 of file ppchameleonevb.c.
#define USE_READY_BUSY_PIN |
Definition at line 34 of file ppchameleonevb.c.
__setup | ( | ) |
MODULE_AUTHOR | ( | "DAVE Srl <support[email protected]>" | ) |
module_exit | ( | ppchameleonevb_cleanup | ) |
module_init | ( | ppchameleonevb_init | ) |
MODULE_LICENSE | ( | "GPL" | ) |