|
Linux Kernel
3.7.1
|
#include <linux/module.h>#include <linux/init.h>#include <linux/types.h>#include <linux/kernel.h>#include <linux/mtd/mtd.h>#include <linux/mtd/map.h>#include <linux/mtd/partitions.h>#include <linux/mtd/cfi.h>#include <linux/reboot.h>#include <linux/err.h>#include <linux/kdev_t.h>#include <linux/root_dev.h>#include <asm/io.h>Go to the source code of this file.
Macros | |
| #define | INTEL_BUSWIDTH 1 |
| #define | AMD_WINDOW_MAXSIZE 0x00200000 |
| #define | AMD_BUSWIDTH 1 |
| #define | SC520_PAR_ADDR_MASK 0x00003fff |
| #define | SC520_PAR_ADDR_SHIFT 16 |
| #define | SC520_PAR_TO_ADDR(par) (((par)&SC520_PAR_ADDR_MASK) << SC520_PAR_ADDR_SHIFT) |
| #define | SC520_PAR_SIZE_MASK 0x01ffc000 |
| #define | SC520_PAR_SIZE_SHIFT 2 |
| #define | SC520_PAR_TO_SIZE(par) ((((par)&SC520_PAR_SIZE_MASK) << SC520_PAR_SIZE_SHIFT) + (64*1024)) |
| #define | SC520_PAR(cs, addr, size) |
| #define | SC520_PAR_BOOTCS 0x8a000000 |
| #define | SC520_PAR_ROMCS1 0xaa000000 |
| #define | SC520_PAR_ROMCS2 0xca000000 /* Cache disabled, 64K page */ |
| #define | NUM_AMD_PARTITIONS ARRAY_SIZE(nettel_amd_partitions) |
Functions | |
| module_init (nettel_init) | |
| module_exit (nettel_cleanup) | |
| MODULE_LICENSE ("GPL") | |
| MODULE_AUTHOR ("Greg Ungerer <[email protected]>") | |
| MODULE_DESCRIPTION ("SnapGear/SecureEdge FLASH support") | |
| #define NUM_AMD_PARTITIONS ARRAY_SIZE(nettel_amd_partitions) |
| #define SC520_PAR_ROMCS2 0xca000000 /* Cache disabled, 64K page */ |
| #define SC520_PAR_TO_ADDR | ( | par | ) | (((par)&SC520_PAR_ADDR_MASK) << SC520_PAR_ADDR_SHIFT) |
| #define SC520_PAR_TO_SIZE | ( | par | ) | ((((par)&SC520_PAR_SIZE_MASK) << SC520_PAR_SIZE_SHIFT) + (64*1024)) |
| MODULE_AUTHOR | ( | "Greg Ungerer <[email protected]>" | ) |
| module_exit | ( | nettel_cleanup | ) |
| module_init | ( | nettel_init | ) |
| MODULE_LICENSE | ( | "GPL" | ) |
1.8.2