hikey: Add development TBB support
This patch adds experimental support for TRUSTED_BOARD_BOOT to the
Hikey. This is adapted from the RPi3 and QEMU implementations.

Since the Hikey starts from BL2 the TRUSTED_BOARD_BOOT ROT begins there
too. When TRUSTED_BOARD_BOOT is defined, the BL1 build is skipped.

See the following example:

make \
 PLAT=hikey \
 BL33=u-boot.bin \
 SCP_BL2=mcuimage.bin \
 TRUSTED_BOARD_BOOT=1 \
 MBEDTLS_DIR=../../mbedtls \
 GENERATE_COT=1 \
 all fip

Signed-off-by: Teddy Reed <teddy.reed@gmail.com>
1 parent 0a15eb9 commit e59a3bffe465f5704ddcab15ce27d7acb475e1a4
@Teddy Reed Teddy Reed authored on 22 Jun 2018
Showing 6 changed files
View
plat/hisilicon/hikey/hikey_io_storage.c
View
plat/hisilicon/hikey/hikey_rotpk.S 0 → 100644
View
plat/hisilicon/hikey/hikey_tbbr.c 0 → 100644
View
plat/hisilicon/hikey/include/hikey_layout.h
View
plat/hisilicon/hikey/include/platform_def.h
View
plat/hisilicon/hikey/platform.mk