Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 31688
b: refs/heads/master
c: 2aab646
h: refs/heads/master
v: v3
  • Loading branch information
Juha Yrjola authored and Tony Lindgren committed Jun 26, 2006
1 parent 6ee8171 commit 477191e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 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: 5ac4215349163baa66c9a26a94e220dcb6c44050
refs/heads/master: 2aab6468b7f88df60828f8e07cfdf8c87338ed8d
8 changes: 4 additions & 4 deletions trunk/arch/arm/mach-omap2/gpmc.c
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ unsigned int gpmc_ns_to_ticks(unsigned int time_ns)

#ifdef DEBUG
static int set_gpmc_timing_reg(int cs, int reg, int st_bit, int end_bit,
int time, int div, const char *name)
int time, const char *name)
#else
static int set_gpmc_timing_reg(int cs, int reg, int st_bit, int end_bit,
int time)
Expand All @@ -111,7 +111,7 @@ static int set_gpmc_timing_reg(int cs, int reg, int st_bit, int end_bit,
l = gpmc_cs_read_reg(cs, reg);
#ifdef DEBUG
printk(KERN_INFO "GPMC CS%d: %-10s: %d ticks, %3lu ns (was %i ticks)\n",
cs, name, ticks, gpmc_get_clk_period(div) * ticks / 1000,
cs, name, ticks, gpmc_get_fclk_period() * ticks / 1000,
(l >> st_bit) & mask);
#endif
l &= ~(mask << st_bit);
Expand Down Expand Up @@ -176,8 +176,8 @@ int gpmc_cs_set_timings(int cs, const struct gpmc_timings *t)
GPMC_SET_ONE(GPMC_CS_CONFIG5, 24, 27, page_burst_access);

#ifdef DEBUG
printk(KERN_INFO "GPMC CLK period is %d (div %d)\n",
cs, get_gpmc_clk_period(div), div);
printk(KERN_INFO "GPMC CS%d CLK period is %lu (div %d)\n",
cs, gpmc_get_fclk_period(), div);
#endif

l = gpmc_cs_read_reg(cs, GPMC_CS_CONFIG1);
Expand Down

0 comments on commit 477191e

Please sign in to comment.