arm-trusted-firmware/plat
Masahiro Yamada 63634800fc uniphier: embed ROTPK hash into BL1/BL2
Currently, ROTPK_NOT_DEPLOYED flag is set in plat_get_rotpk_info().
It is up to users how to retrieve ROTPK if the ROT verification is
desired.  This is not nice.

This commit improves plat_get_rotpk_info() implementation and automates
the ROTPK deployment.  UniPhier platform has no ROTPK storage, so it
should be embedded in BL1/BL2, like ARM_ROTPK_LOCATION=devel_rsa case.
This makes sense because UniPhier platform implements its internal ROM
i.e. BL1 is used as updatable pseudo ROM.

Things work like this:

- ROT_KEY (default: $(BUILD_PLAT)/rot_key.pem) is created if missing.
  Users can override ROT_KEY from the command line if they want to
  use a specific ROT key.

- ROTPK_HASH is generated based on ROT_KEY.

- ROTPK_HASH is included by uniphier_rotpk.S and compiled into BL1/BL2.

- ROT_KEY is input to cert_create tool.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
2017-06-20 23:54:28 +09:00
..
arm Merge pull request #986 from jagadeeshujja/jagujj/fix-get-power-state 2017-06-16 09:17:28 +01:00
common cert: move platform_oid.h to include/tools_share for all platforms 2017-05-24 00:08:35 +09:00
compat Use SPDX license identifiers 2017-05-03 09:39:28 +01:00
hisilicon hikey960: remove mailbox driver 2017-06-15 10:30:37 +08:00
mediatek Merge pull request #927 from jeenu-arm/state-switch 2017-05-11 16:04:52 +01:00
nvidia/tegra tegra: Fix build errors 2017-06-08 07:02:20 -07:00
qemu Merge pull request #927 from jeenu-arm/state-switch 2017-05-11 16:04:52 +01:00
rockchip rockchip: check wakeup cpu when resume 2017-06-08 10:01:19 +08:00
socionext/uniphier uniphier: embed ROTPK hash into BL1/BL2 2017-06-20 23:54:28 +09:00
xilinx/zynqmp Use SPDX license identifiers 2017-05-03 09:39:28 +01:00