Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
R
reform-boundary-uboot
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
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
Jack Humbert
reform-boundary-uboot
Commits
b9fef81f
Commit
b9fef81f
authored
7 years ago
by
Troy Kisky
Browse files
Options
Downloads
Patches
Plain Diff
cmd: bootz: add board_power_check option
Signed-off-by:
Troy Kisky
<
troy.kisky@boundarydevices.com
>
parent
c9d834b2
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
cmd/bootz.c
+3
-0
3 additions, 0 deletions
cmd/bootz.c
include/common.h
+2
-0
2 additions, 0 deletions
include/common.h
scripts/config_whitelist.txt
+1
-0
1 addition, 0 deletions
scripts/config_whitelist.txt
with
6 additions
and
0 deletions
cmd/bootz.c
+
3
−
0
View file @
b9fef81f
...
@@ -61,6 +61,9 @@ int do_bootz(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
...
@@ -61,6 +61,9 @@ int do_bootz(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
{
{
int
ret
;
int
ret
;
#ifdef CONFIG_SYS_BOOT_BOARD_POWER_CHECK
board_power_check
();
#endif
/* Consume 'bootz' */
/* Consume 'bootz' */
argc
--
;
argv
++
;
argc
--
;
argv
++
;
...
...
This diff is collapsed.
Click to expand it.
include/common.h
+
2
−
0
View file @
b9fef81f
...
@@ -298,6 +298,8 @@ int board_fix_fdt (void *rw_fdt_blob); /* manipulate the U-Boot fdt before its r
...
@@ -298,6 +298,8 @@ int board_fix_fdt (void *rw_fdt_blob); /* manipulate the U-Boot fdt before its r
int
board_late_init
(
void
);
int
board_late_init
(
void
);
int
board_postclk_init
(
void
);
/* after clocks/timebase, before env/serial */
int
board_postclk_init
(
void
);
/* after clocks/timebase, before env/serial */
int
board_early_init_r
(
void
);
int
board_early_init_r
(
void
);
void
board_poweroff
(
void
);
void
board_power_check
(
void
);
#if defined(CONFIG_SYS_DRAM_TEST)
#if defined(CONFIG_SYS_DRAM_TEST)
int
testdram
(
void
);
int
testdram
(
void
);
...
...
This diff is collapsed.
Click to expand it.
scripts/config_whitelist.txt
+
1
−
0
View file @
b9fef81f
...
@@ -2137,6 +2137,7 @@ CONFIG_SYS_BOOTM_LEN
...
@@ -2137,6 +2137,7 @@ CONFIG_SYS_BOOTM_LEN
CONFIG_SYS_BOOTPARAMS_LEN
CONFIG_SYS_BOOTPARAMS_LEN
CONFIG_SYS_BOOTSZ
CONFIG_SYS_BOOTSZ
CONFIG_SYS_BOOT_BLOCK
CONFIG_SYS_BOOT_BLOCK
CONFIG_SYS_BOOT_BOARD_POWER_CHECK
CONFIG_SYS_BOOT_RAMDISK_HIGH
CONFIG_SYS_BOOT_RAMDISK_HIGH
CONFIG_SYS_BR0_64M
CONFIG_SYS_BR0_64M
CONFIG_SYS_BR0_8M
CONFIG_SYS_BR0_8M
...
...
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