Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 226497
b: refs/heads/master
c: 20dbeb1
h: refs/heads/master
i:
  226495: 83194c9
v: v3
  • Loading branch information
Aaro Koskinen authored and Tony Lindgren committed Dec 17, 2010
1 parent 815ead9 commit 6af647e
Show file tree
Hide file tree
Showing 2 changed files with 45 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: 15d24e118d51601a5cc2f021005aa7354b03b1c8
refs/heads/master: 20dbeb1081327aefaac7044d9908c97bf445858c
44 changes: 44 additions & 0 deletions trunk/arch/arm/mach-omap2/sdram-nokia.c
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,27 @@ struct sdram_timings {
u32 tWTR;
};

static const struct sdram_timings nokia_97dot6mhz_timings[] = {
{
.casl = 3,
.tDAL = 30725,
.tDPL = 15362,
.tRRD = 10241,
.tRCD = 20483,
.tRP = 15362,
.tRAS = 40967,
.tRC = 56330,
.tRFC = 138266,
.tXSR = 204839,

.tREF = 7798,

.tXP = 2,
.tCKE = 4,
.tWTR = 2,
},
};

static const struct sdram_timings nokia_166mhz_timings[] = {
{
.casl = 3,
Expand All @@ -65,12 +86,35 @@ static const struct sdram_timings nokia_166mhz_timings[] = {
},
};

static const struct sdram_timings nokia_195dot2mhz_timings[] = {
{
.casl = 3,
.tDAL = 30725,
.tDPL = 15362,
.tRRD = 10241,
.tRCD = 20483,
.tRP = 15362,
.tRAS = 40967,
.tRC = 56330,
.tRFC = 138266,
.tXSR = 204839,

.tREF = 7752,

.tXP = 2,
.tCKE = 4,
.tWTR = 2,
},
};

static const struct {
long rate;
struct sdram_timings const *data;
} nokia_timings[] = {
{ 83000000, nokia_166mhz_timings },
{ 97600000, nokia_97dot6mhz_timings },
{ 166000000, nokia_166mhz_timings },
{ 195200000, nokia_195dot2mhz_timings },
};
static struct omap_sdrc_params nokia_sdrc_params[ARRAY_SIZE(nokia_timings) + 1];

Expand Down

0 comments on commit 6af647e

Please sign in to comment.