#include <linux/module.h>
#include <linux/types.h>
#include <linux/kernel.h>
#include <linux/sched.h>
#include <linux/init.h>
#include <asm/io.h>
#include <asm/byteorder.h>
#include <linux/errno.h>
#include <linux/slab.h>
#include <linux/delay.h>
#include <linux/interrupt.h>
#include <linux/reboot.h>
#include <linux/mtd/map.h>
#include <linux/mtd/mtd.h>
#include <linux/mtd/cfi.h>
#include <linux/mtd/xip.h>
#include "fwh_lock.h"
Go to the source code of this file.
|
#define | AMD_BOOTLOC_BUG |
|
#define | FORCE_WORD_WRITE 0 |
|
#define | MAX_WORD_RETRIES 3 |
|
#define | SST49LF004B 0x0060 |
|
#define | SST49LF040B 0x0050 |
|
#define | SST49LF008A 0x005a |
|
#define | AT49BV6416 0x00d6 |
|
#define | xip_disable(map, chip, adr) |
|
#define | xip_enable(map, chip, adr) |
|
#define | XIP_INVAL_CACHED_RANGE(x...) |
|
#define | UDELAY(map, chip, adr, usec) |
|
#define | INVALIDATE_CACHE_UDELAY(map, chip, adr, len, usec) |
|
#define AT49BV6416 0x00d6 |
#define FORCE_WORD_WRITE 0 |
#define INVALIDATE_CACHE_UDELAY |
( |
|
map, |
|
|
|
chip, |
|
|
|
adr, |
|
|
|
len, |
|
|
|
usec |
|
) |
| |
Value:do { \
mutex_unlock(&
chip->mutex); \
INVALIDATE_CACHED_RANGE(
map, adr, len); \
cfi_udelay(usec); \
mutex_lock(&
chip->mutex); \
} while (0)
Definition at line 1048 of file cfi_cmdset_0002.c.
#define MAX_WORD_RETRIES 3 |
#define SST49LF004B 0x0060 |
#define SST49LF008A 0x005a |
#define SST49LF040B 0x0050 |
#define UDELAY |
( |
|
map, |
|
|
|
chip, |
|
|
|
adr, |
|
|
|
usec |
|
) |
| |
Value:do { \
mutex_unlock(&
chip->mutex); \
cfi_udelay(usec); \
mutex_lock(&
chip->mutex); \
} while (0)
Definition at line 1041 of file cfi_cmdset_0002.c.
#define xip_disable |
( |
|
map, |
|
|
|
chip, |
|
|
|
adr |
|
) |
| |
#define xip_enable |
( |
|
map, |
|
|
|
chip, |
|
|
|
adr |
|
) |
| |
#define XIP_INVAL_CACHED_RANGE |
( |
|
x... | ) |
|
MODULE_ALIAS |
( |
"cfi_cmdset_0006" |
| ) |
|
MODULE_ALIAS |
( |
"cfi_cmdset_0701" |
| ) |
|