-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Alessandro Rubini
authored and
David Woodhouse
committed
Sep 20, 2009
1 parent
79c599d
commit 0ad985b
Showing
8 changed files
with
396 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
--- | ||
refs/heads/master: 6469f540ea37d53db089c8fea9c0c77a3d9353d4 | ||
refs/heads/master: 63234717d170d39ee9cc873f29930b0fb142a114 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
|
||
/* Definitions for the Nomadik FSMC "Flexible Static Memory controller" */ | ||
|
||
#ifndef __ASM_ARCH_FSMC_H | ||
#define __ASM_ARCH_FSMC_H | ||
|
||
#include <mach/hardware.h> | ||
/* | ||
* Register list | ||
*/ | ||
|
||
/* bus control reg. and bus timing reg. for CS0..CS3 */ | ||
#define FSMC_BCR(x) (NOMADIK_FSMC_VA + (x << 3)) | ||
#define FSMC_BTR(x) (NOMADIK_FSMC_VA + (x << 3) + 0x04) | ||
|
||
/* PC-card and NAND: | ||
* PCR = control register | ||
* PMEM = memory timing | ||
* PATT = attribute timing | ||
* PIO = I/O timing | ||
* PECCR = ECC result | ||
*/ | ||
#define FSMC_PCR(x) (NOMADIK_FSMC_VA + ((2 + x) << 5) + 0x00) | ||
#define FSMC_PMEM(x) (NOMADIK_FSMC_VA + ((2 + x) << 5) + 0x08) | ||
#define FSMC_PATT(x) (NOMADIK_FSMC_VA + ((2 + x) << 5) + 0x0c) | ||
#define FSMC_PIO(x) (NOMADIK_FSMC_VA + ((2 + x) << 5) + 0x10) | ||
#define FSMC_PECCR(x) (NOMADIK_FSMC_VA + ((2 + x) << 5) + 0x14) | ||
|
||
#endif /* __ASM_ARCH_FSMC_H */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
#ifndef __ASM_ARCH_NAND_H | ||
#define __ASM_ARCH_NAND_H | ||
|
||
struct nomadik_nand_platform_data { | ||
struct mtd_partition *parts; | ||
int nparts; | ||
int options; | ||
int (*init) (void); | ||
int (*exit) (void); | ||
}; | ||
|
||
#define NAND_IO_DATA 0x40000000 | ||
#define NAND_IO_CMD 0x40800000 | ||
#define NAND_IO_ADDR 0x41000000 | ||
|
||
#endif /* __ASM_ARCH_NAND_H */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.