u-boot-brain/arch
gaurav rana 98cb0efde8 Add bootscript support to esbc_validate.
1. Default environment will be used for secure boot flow
 which can't be edited or saved.
2. Command for secure boot is predefined in the default
 environment which will run on autoboot (and autoboot is
 the only option allowed in case of secure boot) and it
 looks like this:
 #define CONFIG_SECBOOT \
 "setenv bs_hdraddr 0xe8e00000;"                 \
 "esbc_validate $bs_hdraddr;"                    \
 "source $img_addr;"                             \
 "esbc_halt;"
 #endif
3. Boot Script can contain esbc_validate commands and bootm command.
 Uboot source command used in default secure boot command will
 run the bootscript.
4. Command esbc_halt added to ensure either bootm executes
 after validation of images or core should just spin.

Signed-off-by: Ruchika Gupta <ruchika.gupta@freescale.com>
Signed-off-by: Gaurav Rana <gaurav.rana@freescale.com>
Reviewed-by: York Sun <yorksun@freescale.com>
2015-04-21 10:19:19 -07:00
..
arc arc: fix separate compilation of start.o 2015-04-10 19:22:40 +03:00
arm Add bootscript support to esbc_validate. 2015-04-21 10:19:19 -07:00
avr32 net: Remove the bd* parameter from net stack functions 2015-04-18 11:11:11 -06:00
blackfin generic-board: select SYS_GENERIC_BOARD for some architectures 2015-03-28 09:03:08 -04:00
m68k m68k: merge per-CPU config.mk into arch/m68k/Makefile 2015-03-28 09:03:09 -04:00
microblaze generic-board: select SYS_GENERIC_BOARD for some architectures 2015-03-28 09:03:08 -04:00
mips net: cosmetic: Fix var naming net <-> eth drivers 2015-04-18 11:11:33 -06:00
nds32 net: Remove the bd* parameter from net stack functions 2015-04-18 11:11:11 -06:00
nios2 fdt: nios: Fix warning in ft_cpu_setup() 2015-04-10 08:15:24 -06:00
openrisc net: Remove the bd* parameter from net stack functions 2015-04-18 11:11:11 -06:00
powerpc Add bootscript support to esbc_validate. 2015-04-21 10:19:19 -07:00
sandbox sandbox: Add support for bootz 2015-04-19 14:45:57 -06:00
sh net: Remove the bd* parameter from net stack functions 2015-04-18 11:11:11 -06:00
sparc net: Remove the bd* parameter from net stack functions 2015-04-18 11:11:11 -06:00
x86 sandbox: Move CONFIG_SYS_VSNPRINTF to Kconfig 2015-04-18 11:11:37 -06:00
.gitignore .gitignore: drop include/asm/proc from ignore pattern 2014-06-19 11:18:54 -04:00
Kconfig dm: select CONFIG_DM* options 2015-04-18 11:11:30 -06:00