Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
linux
linux-davinci
Commits
cd1ce382
Commit
cd1ce382
authored
Jun 16, 2006
by
Juha Yrjola
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ARM: OMAP: Fix GPMC compilation when DEBUG is defined
Signed-off-by:
Juha Yrjola
<
juha.yrjola@solidboot.com
>
parent
b9377aa2
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
arch/arm/mach-omap2/gpmc.c
arch/arm/mach-omap2/gpmc.c
+4
-4
No files found.
arch/arm/mach-omap2/gpmc.c
View file @
cd1ce382
...
...
@@ -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
)
...
...
@@ -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
);
...
...
@@ -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 C
LK period is %d
(div %d)
\n
"
,
cs
,
g
et_gpmc_clk_period
(
div
),
div
);
printk
(
KERN_INFO
"GPMC C
S%d CLK period is %lu
(div %d)
\n
"
,
cs
,
g
pmc_get_fclk_period
(
),
div
);
#endif
l
=
gpmc_cs_read_reg
(
cs
,
GPMC_CS_CONFIG1
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment