Skip to content
Snippets Groups Projects
Commit b9fef81f authored by Troy Kisky's avatar Troy Kisky
Browse files

cmd: bootz: add board_power_check option

parent c9d834b2
No related branches found
No related tags found
No related merge requests found
...@@ -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++;
......
...@@ -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);
......
...@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment