u-boot/arch/arm/mach-imx
Bryan O'Donoghue 49e6242673 imx: hab: Provide hab_auth_img_or_fail command
This patch adds hab_auth_img_or_fail() a command line function that
encapsulates a common usage of authenticate and failover, namely if
authenticate image fails, then drop to BootROM USB recovery mode.

For secure-boot systems, this type of locked down behavior is important to
ensure no unsigned images can be run.

It's possible to script this logic but, when done over and over again the
environment starts get very complex and repetitive, reducing that script
repetition down to a command line function makes sense.

Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
Cc: Utkarsh Gupta <utkarsh.gupta@nxp.com>
Cc: Breno Lima <breno.lima@nxp.com>
Cc: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
Tested-by: Breno Lima <breno.lima@nxp.com>
2018-04-15 11:44:13 +02:00
..
mx2 mx25: Select the ESDHC_A001 erratum 2017-11-07 10:13:00 +01:00
mx5 arm: imx: mx53loco: remove usage of mx53_dram_size 2018-02-04 12:00:58 +01:00
mx6 ARM: mx6: ddr: Add write leveling correction code 2018-04-15 11:39:23 +02:00
mx7 imx: mx7: Add comment to describe OTP TESTER registers 2018-04-15 11:44:13 +02:00
mx7ulp arm: imx: Rework i.MX specific commands to be excluded from SPL 2018-01-12 14:28:04 +01:00
mx8m imx: mx8m: add soc related settings and files 2018-02-04 12:00:58 +01:00
mxs arm: imx: mx28: Move MX28 selection to Kconfig 2018-02-08 10:17:17 -05:00
cache.c imx: reorganize IMX code as other SOCs 2017-07-12 10:17:44 +02:00
cmd_bmode.c imx: reorganize IMX code as other SOCs 2017-07-12 10:17:44 +02:00
cmd_dek.c imx: reorganize IMX code as other SOCs 2017-07-12 10:17:44 +02:00
cmd_hdmidet.c imx: reorganize IMX code as other SOCs 2017-07-12 10:17:44 +02:00
cpu.c imx: cpu: support get_boot_device for i.MX8M 2018-02-04 12:00:58 +01:00
ddrmc-vf610.c imx: reorganize IMX code as other SOCs 2017-07-12 10:17:44 +02:00
hab.c imx: hab: Provide hab_auth_img_or_fail command 2018-04-15 11:44:13 +02:00
i2c-mxv7.c imx: reorganize IMX code as other SOCs 2017-07-12 10:17:44 +02:00
imx_bootaux.c imx: bootaux: support i.MX8M 2018-02-04 12:00:58 +01:00
init.c imx: Remove boolean parameter from wdog powerdown function 2017-11-27 10:34:49 +01:00
iomux-v3.c imx: reorganize IMX code as other SOCs 2017-07-12 10:17:44 +02:00
Kconfig imx: introduce CONFIG_GPT_TIMER 2018-01-08 17:33:06 +01:00
mac.c imx: refactor imx_get_mac_from_fuse 2018-02-04 12:00:58 +01:00
Makefile imx: makefile: compile files for i.MX8M 2018-02-04 12:00:58 +01:00
misc.c imx: reorganize IMX code as other SOCs 2017-07-12 10:17:44 +02:00
mmc_env.c imx: mx7: move mmc env code to mmc_env.c 2018-02-04 12:00:58 +01:00
rdc-sema.c imx: reorganize IMX code as other SOCs 2017-07-12 10:17:44 +02:00
sata.c imx: reorganize IMX code as other SOCs 2017-07-12 10:17:44 +02:00
sip.c imx: add sip function 2018-02-04 12:00:58 +01:00
speed.c imx: reorganize IMX code as other SOCs 2017-07-12 10:17:44 +02:00
spl.c imx7: spl: Check for Serial Downloader in spl_boot_device 2018-03-29 17:33:12 +02:00
spl_sd.cfg imx: reorganize IMX code as other SOCs 2017-07-12 10:17:44 +02:00
syscounter.c imx: syscounter: make sure asm is volatile 2018-03-09 13:06:14 +01:00
timer.c imx: timer: don't clear the GPT control register multiple times 2017-08-29 09:47:28 +02:00
video.c env: Rename getenv/_f() to env_get() 2017-08-16 08:30:24 -04:00