mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-08 19:11:53 +00:00
The patch introduces the CRITICAL feature of POST tests. If the test marked as POST_CRITICAL fails then the alternative, post_critical, boot-command is used. If this command is not defined then U-Boot enters into interactive mode.
Signed-off-by: Dmitry Rakhchev <rda@emcraft.com> Signed-off-by: Yuri Tikhonov <yur@emcraft.com>
This commit is contained in:
parent
8f15d4addd
commit
b428f6a8c6
14 changed files with 37 additions and 4 deletions
|
@ -42,12 +42,16 @@
|
|||
#define POST_REBOOT 0x0800 /* test may cause rebooting */
|
||||
#define POST_PREREL 0x1000 /* test runs before relocation */
|
||||
|
||||
#define POST_CRITICAL 0x2000 /* Use failbootcmd if test failed */
|
||||
|
||||
#define POST_MEM (POST_RAM | POST_ROM)
|
||||
#define POST_ALWAYS (POST_NORMAL | \
|
||||
POST_SLOWTEST | \
|
||||
POST_MANUAL | \
|
||||
POST_POWERON )
|
||||
|
||||
#define POST_FAIL_SAVE 0x80
|
||||
|
||||
#ifndef __ASSEMBLY__
|
||||
|
||||
struct post_test {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue