Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 287242
b: refs/heads/master
c: 8ef5d84
h: refs/heads/master
v: v3
  • Loading branch information
Yegor Yefremov authored and Tony Lindgren committed Jan 26, 2012
1 parent 02a5f6c commit b9e65bd
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: dbc3982ae286e934e71f0b44e78d14844a9ca83b
refs/heads/master: 8ef5d844cc3a644ea6f7665932a4307e9fad01fa
6 changes: 6 additions & 0 deletions trunk/arch/arm/mach-omap2/gpmc.c
Original file line number Diff line number Diff line change
Expand Up @@ -528,7 +528,13 @@ int gpmc_cs_configure(int cs, int cmd, int wval)

case GPMC_CONFIG_DEV_SIZE:
regval = gpmc_cs_read_reg(cs, GPMC_CS_CONFIG1);

/* clear 2 target bits */
regval &= ~GPMC_CONFIG1_DEVICESIZE(3);

/* set the proper value */
regval |= GPMC_CONFIG1_DEVICESIZE(wval);

gpmc_cs_write_reg(cs, GPMC_CS_CONFIG1, regval);
break;

Expand Down

0 comments on commit b9e65bd

Please sign in to comment.