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
3c5a55e9
Commit
3c5a55e9
authored
Oct 04, 2005
by
Tony Lindgren
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ARM: OMAP: Tabified
Tabified
parent
959368fe
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
arch/arm/mach-omap2/clock.h
arch/arm/mach-omap2/clock.h
+1
-1
include/asm-arm/arch-omap/system.h
include/asm-arm/arch-omap/system.h
+5
-5
No files found.
arch/arm/mach-omap2/clock.h
View file @
3c5a55e9
...
@@ -202,7 +202,7 @@ struct prcm_config {
...
@@ -202,7 +202,7 @@ struct prcm_config {
/* 2420-PRCM VII (boot) */
/* 2420-PRCM VII (boot) */
#define RVII_CLKSEL_L3 (1 << 0)
#define RVII_CLKSEL_L3 (1 << 0)
#define RVII_CLKSEL_L4
(1 << 5)
#define RVII_CLKSEL_L4
(1 << 5)
#define RVII_CLKSEL_DSS1 (1 << 8)
#define RVII_CLKSEL_DSS1 (1 << 8)
#define RVII_CLKSEL_DSS2 (0 << 13)
#define RVII_CLKSEL_DSS2 (0 << 13)
#define RVII_CLKSEL_VLYNQ (1 << 15)
#define RVII_CLKSEL_VLYNQ (1 << 15)
...
...
include/asm-arm/arch-omap/system.h
View file @
3c5a55e9
...
@@ -40,17 +40,17 @@ static inline void omap1_arch_reset(char mode)
...
@@ -40,17 +40,17 @@ static inline void omap1_arch_reset(char mode)
static
inline
void
omap2_arch_reset
(
char
mode
)
static
inline
void
omap2_arch_reset
(
char
mode
)
{
{
u32
rate
;
u32
rate
;
struct
clk
*
vclk
,
*
sclk
;
struct
clk
*
vclk
,
*
sclk
;
unsigned
long
flags
;
unsigned
long
flags
;
vclk
=
clk_get
(
NULL
,
"virt_prcm_set"
);
vclk
=
clk_get
(
NULL
,
"virt_prcm_set"
);
sclk
=
clk_get
(
NULL
,
"sys_ck"
);
sclk
=
clk_get
(
NULL
,
"sys_ck"
);
printk
(
KERN_INFO
"Resetting the OMAP2
\n
"
);
printk
(
KERN_INFO
"Resetting the OMAP2
\n
"
);
local_irq_save
(
flags
);
/* no distractions, we are rebooting */
local_irq_save
(
flags
);
/* no distractions, we are rebooting */
rate
=
clk_get_rate
(
sclk
);
rate
=
clk_get_rate
(
sclk
);
clk_set_rate
(
vclk
,
rate
);
/* go to bypass for OMAP limitation */
clk_set_rate
(
vclk
,
rate
);
/* go to bypass for OMAP limitation */
RM_RSTCTRL_WKUP
|=
2
;
RM_RSTCTRL_WKUP
|=
2
;
local_irq_restore
(
flags
);
local_irq_restore
(
flags
);
}
}
...
...
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