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
ba7f9bfd
Commit
ba7f9bfd
authored
Nov 29, 2018
by
Yann Gautier
Browse files
stm32mp: check stm32_sdmmc2_mmc_init return
Signed-off-by:
Yann Gautier
<
yann.gautier@st.com
>
parent
77614a99
Changes
1
Hide whitespace changes
Inline
Side-by-side
plat/st/stm32mp1/bl2_io_storage.c
View file @
ba7f9bfd
...
...
@@ -282,7 +282,11 @@ void stm32mp1_io_setup(void)
}
params
.
device_info
=
&
device_info
;
stm32_sdmmc2_mmc_init
(
&
params
);
if
(
stm32_sdmmc2_mmc_init
(
&
params
)
!=
0
)
{
ERROR
(
"SDMMC%u init failed
\n
"
,
boot_context
->
boot_interface_instance
);
panic
();
}
/* Open MMC as a block device to read GPT table */
io_result
=
register_io_dev_block
(
&
mmc_dev_con
);
...
...
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