Skip to content

Commit

Permalink
kconfig: add optee rpmb setup in Kconfig menu
Browse files Browse the repository at this point in the history
Signed-off-by: Ivan Mikhaylov <[email protected]>
  • Loading branch information
fr0st61te committed Jun 29, 2022
1 parent e8b3747 commit 606943d
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -125,11 +125,25 @@ config SECURE_BOOT
This uses the public custMpk.key and certificate by default. Do not
use this key in production, it is for demonstration purposes only.

config RPMB_SETUP
bool "OPTEE RPMB setup for OTP key write"
depends on IMAGE_BOOT_PG2 && !SECURE_BOOT
help
Enable one-time pairing between processor and secure storage
(RPMB on eMMC). Do not sign and distribute this version. Run it
only in a secure environment on the target device, then replace it
with signed production firmware and enable secure boot.

config KAS_INCLUDE_SECURE_BOOT
string
default "kas/opt/secure-boot.yml"
depends on SECURE_BOOT

config KAS_INCLUDE_RPMB_SETUP
string
default "kas/opt/rpmb-setup.yml"
depends on RPMB_SETUP

comment "Build options"

config SDK
Expand Down

0 comments on commit 606943d

Please sign in to comment.