Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
u-boot-seco-imx
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Iterations
Jira
Code
Merge requests
14
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Clea OS
bsp
nxp
u-boot-seco-imx
Commits
eed2c331
Commit
eed2c331
authored
7 months ago
by
Gianfranco Mariotti
Browse files
Options
Downloads
Patches
Plain Diff
[SPLASH] select current bootdevice for image location
parent
b36cc231
No related branches found
Branches containing commit
No related tags found
1 merge request
!148
[SPLASH] select current bootdevice for image location
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
board/seco/common/splash_source.c
+7
-0
7 additions, 0 deletions
board/seco/common/splash_source.c
with
7 additions
and
0 deletions
board/seco/common/splash_source.c
+
7
−
0
View file @
eed2c331
#include
<common.h>
#include
<splash.h>
#include
<mmc.h>
static
struct
splash_location
splash_locations
[]
=
{
{
...
...
@@ -12,6 +13,12 @@ static struct splash_location splash_locations[] = {
int
splash_screen_prepare
(
void
)
{
char
devpart
[
16
]
=
{
0
};
int
dev_no
=
(
int
)
mmc_get_env_dev
();
snprintf
(
devpart
,
ARRAY_SIZE
(
devpart
),
"%d:1"
,
dev_no
);
splash_locations
[
0
].
devpart
=
devpart
;
return
splash_source_load
(
splash_locations
,
ARRAY_SIZE
(
splash_locations
));
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment