Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci-2.6.23
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-2.6.23
Commits
07d9605a
Commit
07d9605a
authored
Nov 07, 2005
by
Tony Lindgren
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ARM: OMAP: Fixed MMC DMA writes on 15xx
Fixed MMC DMA writes on 15xx
parent
0411d0c5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
drivers/mmc/omap.c
drivers/mmc/omap.c
+6
-4
No files found.
drivers/mmc/omap.c
View file @
07d9605a
...
...
@@ -693,11 +693,13 @@ mmc_omap_prepare_dma(struct mmc_omap_host *host, struct mmc_data *data)
}
host
->
dma_len
=
count
;
/* FIFO is
32x2 bytes; use 32 word frames when the blocksize is
*
at least that large. Blocksize is usually 512 bytes; but
* not for some SD reads.
/* FIFO is
16x2 bytes on 15xx, and 32x2 bytes on 16xx and 24xx.
*
Use 16 or 32 word frames when the blocksize is at least that large.
*
Blocksize is usually 512 bytes; but
not for some SD reads.
*/
if
(
frame
>
64
)
if
(
cpu_is_omap15xx
()
&&
frame
>
32
)
frame
=
32
;
else
if
(
frame
>
64
)
frame
=
64
;
count
/=
frame
;
frame
>>=
1
;
...
...
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