Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 219852
b: refs/heads/master
c: ef6c3c6
h: refs/heads/master
v: v3
  • Loading branch information
David Cross authored and Greg Kroah-Hartman committed Sep 14, 2010
1 parent a36f8a3 commit 101aa7a
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 7 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 4c404487aa3d26bf7a7e16f8545778385e06d839
refs/heads/master: ef6c3c6e53ba4286140ea7d582d81f08d43dc7d2
Original file line number Diff line number Diff line change
Expand Up @@ -359,9 +359,9 @@ static int cy_as_hal_gpmc_init(void)
/*
* these are globals are full VMAs of the gpmc_base above
*/
ncmd_reg_vma = GPMC_VMA(GPMC_NAND_CMD);
naddr_reg_vma = GPMC_VMA(GPMC_NAND_ADDR);
ndata_reg_vma = GPMC_VMA(GPMC_NAND_DATA);
ncmd_reg_vma = GPMC_VMA(AST_GPMC_NAND_CMD);
naddr_reg_vma = GPMC_VMA(AST_GPMC_NAND_ADDR);
ndata_reg_vma = GPMC_VMA(AST_GPMC_NAND_DATA);

/*
* request GPMC CS for ASTORIA request
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@
#define _INCLUDED_CYASMEMMAP_H_

/* defines copied from OMAP kernel branch */

#define OMAP2_PULL_UP (1 << 4)
#define OMAP2_PULL_ENA (1 << 3)
#define OMAP34XX_MUX_MODE0 0
#define OMAP34XX_MUX_MODE4 4
#define OMAP3_INPUT_EN (1 << 8)
Expand Down Expand Up @@ -250,9 +253,9 @@
/*
*gpmc nand registers for CS4
*/
#define GPMC_NAND_CMD (0x7c + (0x30*AST_GPMC_CS))
#define GPMC_NAND_ADDR (0x80 + (0x30*AST_GPMC_CS))
#define GPMC_NAND_DATA (0x84 + (0x30*AST_GPMC_CS))
#define AST_GPMC_NAND_CMD (0x7c + (0x30*AST_GPMC_CS))
#define AST_GPMC_NAND_ADDR (0x80 + (0x30*AST_GPMC_CS))
#define AST_GPMC_NAND_DATA (0x84 + (0x30*AST_GPMC_CS))

#define GPMC_STAT_REG (0x54)
#define GPMC_ERR_TYPE (0x48)
Expand Down

0 comments on commit 101aa7a

Please sign in to comment.