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
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Eric Kuzmenko
uboot-imx
Commits
18dd577b
Commit
18dd577b
authored
Nov 24, 2018
by
Angus Ainslie (Purism)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
autoboot.c : allow fastboot to send u-boot commands
parent
8aaacfc9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
8 deletions
+5
-8
common/autoboot.c
common/autoboot.c
+5
-8
No files found.
common/autoboot.c
View file @
18dd577b
...
...
@@ -312,12 +312,9 @@ const char *bootdelay_process(void)
bootdelay
=
s
?
(
int
)
simple_strtol
(
s
,
NULL
,
10
)
:
CONFIG_BOOTDELAY
;
#if defined(is_boot_from_usb)
if
(
is_boot_from_usb
()
&&
getenv
(
"bootcmd_mfg"
))
{
disconnect_from_pc
();
printf
(
"Boot from USB for mfgtools
\n
"
);
if
(
is_boot_from_usb
())
{
printf
(
"Boot from USB for fastboot
\n
"
);
bootdelay
=
0
;
set_default_env
(
"Use default environment for \
mfgtools
\n
"
);
}
else
{
printf
(
"Normal Boot
\n
"
);
}
...
...
@@ -350,9 +347,9 @@ const char *bootdelay_process(void)
s
=
getenv
(
"bootcmd"
);
#if defined(is_boot_from_usb)
if
(
is_boot_from_usb
()
&&
getenv
(
"bootcmd_mfg"
)
)
{
s
=
getenv
(
"bootcmd
_mfg
"
);
printf
(
"Run bootcmd
_mfg
: %s
\n
"
,
s
);
if
(
is_boot_from_usb
())
{
s
=
getenv
(
"bootcmd"
);
printf
(
"Run bootcmd: %s
\n
"
,
s
);
}
#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