Skip to content
GitLab
Menu
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
Sep 28, 2018
by
Dimitris Papastamos
Committed by
GitHub
Sep 28, 2018
Browse files
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
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
;
}
...
...
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