Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Arm Trusted Firmware
Commits
9c828d66
Unverified
Commit
9c828d66
authored
6 years ago
by
Dimitris Papastamos
Committed by
GitHub
6 years ago
Browse files
Options
Download
Plain Diff
Merge pull request #1593 from shawnguo2/mmc_fix_R2_response
drivers: mmc: Fix R2 response type definition
parents
e5af6791
a2a69bc8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
drivers/mmc/mmc.c
+2
-2
drivers/mmc/mmc.c
with
2 additions
and
2 deletions
+2
-2
drivers/mmc/mmc.c
View file @
9c828d66
...
...
@@ -427,7 +427,7 @@ static int mmc_enumerate(unsigned int clk, unsigned int bus_width)
}
/* CMD2: Card Identification */
ret
=
mmc_send_cmd
(
MMC_CMD
(
2
),
0
,
MMC_RESPONSE_R
(
2
)
,
NULL
);
ret
=
mmc_send_cmd
(
MMC_CMD
(
2
),
0
,
MMC_RESPONSE_R
2
,
NULL
);
if
(
ret
!=
0
)
{
return
ret
;
}
...
...
@@ -452,7 +452,7 @@ static int mmc_enumerate(unsigned int clk, unsigned int bus_width)
/* CMD9: CSD Register */
ret
=
mmc_send_cmd
(
MMC_CMD
(
9
),
rca
<<
RCA_SHIFT_OFFSET
,
MMC_RESPONSE_R
(
2
)
,
&
resp_data
[
0
]);
MMC_RESPONSE_R
2
,
&
resp_data
[
0
]);
if
(
ret
!=
0
)
{
return
ret
;
}
...
...
This diff is collapsed.
Click to expand it.
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
Menu
Projects
Groups
Snippets
Help