Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
U
uboot-imx
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
8
Issues
8
List
Boards
Labels
Milestones
Merge Requests
7
Merge Requests
7
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Librem5
uboot-imx
Commits
f07e286c
Commit
f07e286c
authored
Apr 19, 2013
by
Otavio Salvador
Committed by
Stefano Babic
Apr 25, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mx6qsabresd: Return status when initializing MMC
Signed-off-by:
Otavio Salvador
<
otavio@ossystems.com.br
>
parent
810d6df0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
6 deletions
+7
-6
board/freescale/mx6qsabresd/mx6qsabresd.c
board/freescale/mx6qsabresd/mx6qsabresd.c
+7
-6
No files found.
board/freescale/mx6qsabresd/mx6qsabresd.c
View file @
f07e286c
...
...
@@ -166,6 +166,7 @@ int board_mmc_getcd(struct mmc *mmc)
int
board_mmc_init
(
bd_t
*
bis
)
{
s32
status
=
0
;
int
i
;
/*
...
...
@@ -196,15 +197,15 @@ int board_mmc_init(bd_t *bis)
break
;
default:
printf
(
"Warning: you configured more USDHC controllers"
"(%d) than supported by the board
\n
"
,
i
+
1
);
return
0
;
}
"(%d) then supported by the board (%d)
\n
"
,
i
+
1
,
CONFIG_SYS_FSL_USDHC_NUM
);
return
status
;
}
if
(
fsl_esdhc_initialize
(
bis
,
&
usdhc_cfg
[
i
]))
printf
(
"Warning: failed to initialize mmc dev %d
\n
"
,
i
);
status
|=
fsl_esdhc_initialize
(
bis
,
&
usdhc_cfg
[
i
]);
}
return
0
;
return
status
;
}
#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