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
6d27ed91
Commit
6d27ed91
authored
Nov 14, 2005
by
Tony Lindgren
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ARM: OMAP: Formatting changes to sync with mainline
Formatting changes to sync with mainline
parent
4f3b5804
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
13 additions
and
13 deletions
+13
-13
arch/arm/plat-omap/dma.c
arch/arm/plat-omap/dma.c
+4
-4
arch/arm/plat-omap/pm.c
arch/arm/plat-omap/pm.c
+1
-1
include/asm-arm/arch-omap/entry-macro.S
include/asm-arm/arch-omap/entry-macro.S
+1
-1
include/asm-arm/arch-omap/mux.h
include/asm-arm/arch-omap/mux.h
+5
-5
include/asm-arm/arch-omap/system.h
include/asm-arm/arch-omap/system.h
+1
-1
include/asm-arm/arch-omap/uncompress.h
include/asm-arm/arch-omap/uncompress.h
+1
-1
No files found.
arch/arm/plat-omap/dma.c
View file @
6d27ed91
...
...
@@ -153,7 +153,7 @@ void omap_set_dma_transfer_params(int lch, int data_type, int elem_count,
OMAP_DMA_CSDP_REG
(
lch
)
&=
~
0x03
;
OMAP_DMA_CSDP_REG
(
lch
)
|=
data_type
;
if
(
cpu_class_is_omap1
())
{
if
(
cpu_class_is_omap1
())
{
OMAP_DMA_CCR_REG
(
lch
)
&=
~
(
1
<<
5
);
if
(
sync_mode
==
OMAP_DMA_SYNC_FRAME
)
OMAP_DMA_CCR_REG
(
lch
)
|=
1
<<
5
;
...
...
@@ -247,7 +247,7 @@ void omap_set_dma_src_params(int lch, int src_port, int src_amode,
if
(
cpu_is_omap24xx
())
OMAP2_DMA_CSSA_REG
(
lch
)
=
src_start
;
OMAP_DMA_CSEI_REG
(
lch
)
=
src_ei
;
OMAP_DMA_CSFI_REG
(
lch
)
=
src_fi
;
}
...
...
@@ -323,7 +323,7 @@ void omap_set_dma_dest_params(int lch, int dest_port, int dest_amode,
}
if
(
cpu_is_omap24xx
())
OMAP2_DMA_CDSA_REG
(
lch
)
=
dest_start
;
OMAP2_DMA_CDSA_REG
(
lch
)
=
dest_start
;
OMAP_DMA_CDEI_REG
(
lch
)
=
dst_ei
;
OMAP_DMA_CDFI_REG
(
lch
)
=
dst_fi
;
...
...
@@ -491,7 +491,7 @@ int omap_request_dma(int dev_id, const char *dev_name,
if
(
cpu_is_omap24xx
())
{
omap2_enable_irq_lch
(
free_ch
);
omap_enable_channel_irq
(
free_ch
);
/* Clear the CSR register and IRQ status register */
OMAP_DMA_CSR_REG
(
free_ch
)
=
0x0
;
...
...
arch/arm/plat-omap/pm.c
View file @
6d27ed91
...
...
@@ -134,7 +134,7 @@ static void omap_pm_wakeup_setup(void)
level1_wake
=
OMAP_IRQ_BIT
(
INT_730_GPIO_BANK1
)
|
OMAP_IRQ_BIT
(
INT_730_IH2_IRQ
);
else
if
(
cpu_is_omap1510
())
level1_wake
=
OMAP_IRQ_BIT
(
INT_GPIO_BANK1
)
|
level1_wake
=
OMAP_IRQ_BIT
(
INT_GPIO_BANK1
)
|
OMAP_IRQ_BIT
(
INT_1510_IH2_IRQ
);
else
if
(
cpu_is_omap16xx
())
level1_wake
=
OMAP_IRQ_BIT
(
INT_GPIO_BANK1
)
|
...
...
include/asm-arm/arch-omap/entry-macro.S
View file @
6d27ed91
...
...
@@ -12,7 +12,7 @@
#if defined(CONFIG_ARCH_OMAP730) && \
(
defined
(
CONFIG_ARCH_OMAP15XX
)
||
defined
(
CONFIG_ARCH_OMAP16XX
))
#error "FIXME: OMAP730 doesn't support multiple-OMAP"
#error "FIXME: OMAP730 doesn't support multiple-OMAP"
#elif defined(CONFIG_ARCH_OMAP730)
#define INT_IH2_IRQ INT_730_IH2_IRQ
#elif defined(CONFIG_ARCH_OMAP15XX)
...
...
include/asm-arm/arch-omap/mux.h
View file @
6d27ed91
...
...
@@ -104,11 +104,11 @@
},
/*
/*
* OMAP730 has a slightly different config for the pin mux.
* - config regs are the OMAP730_IO_CONF_x regs (see omap730.h) regs and
* - config regs are the OMAP730_IO_CONF_x regs (see omap730.h) regs and
* not the FUNC_MUX_CTRL_x regs from hardware.h
* - for pull-up/down, only has one enable bit which is is in the same register
* - for pull-up/down, only has one enable bit which is is in the same register
* as mux config
*/
#define MUX_CFG_730(desc, mux_reg, mode_offset, mode, \
...
...
@@ -131,8 +131,8 @@
.mask = mode, \
.pull_val = pull_en, \
.pu_pd_val = pull_mode, \
},
},
#define PULL_DISABLED 0
#define PULL_ENABLED 1
...
...
include/asm-arm/arch-omap/system.h
View file @
6d27ed91
...
...
@@ -54,7 +54,7 @@ static inline void arch_reset(char mode)
if
(
!
cpu_is_omap24xx
())
omap1_arch_reset
(
mode
);
else
omap2_arch_reset
(
mode
);
omap2_arch_reset
(
mode
);
}
#endif
include/asm-arm/arch-omap/uncompress.h
View file @
6d27ed91
...
...
@@ -35,7 +35,7 @@ putstr(const char *s)
{
volatile
u8
*
uart
=
0
;
int
shift
=
2
;
#ifdef CONFIG_MACH_OMAP_PALMTE
return
;
#endif
...
...
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