u-boot/arch/powerpc
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
..
cpu powerpc/mpc85xx: Remove some dead code 2015-04-20 10:15:29 -07:00
dts powerpc: ppc4xx: Add defaults for DT based booting to really work 2015-02-12 10:35:32 -07:00
include/asm Add bootscript support to esbc_validate. 2015-04-21 10:19:19 -07:00
lib net: Remove the bd* parameter from net stack functions 2015-04-18 11:11:11 -06:00
config.mk generic-board: move __HAVE_ARCH_GENERIC_BOARD to Kconfig 2015-03-28 09:03:08 -04:00
Kconfig powerpc: 74xx_7xx: remove 74xx_7xx cpu support 2015-01-16 10:24:39 -05:00
Makefile Kbuild: introduce Makefile in arch/$ARCH/ 2014-12-08 09:35:45 -05:00