diff mbox series

[2/2] configs: rock-pi-4: Enable OP-TEE secure os support

Message ID 20220221161224.2919883-2-peter.griffin@linaro.org
State New
Headers show
Series [1/2] arm64: dts: rk3399-rock-pi-4b-u-boot: add optee node | expand

Commit Message

Peter Griffin Feb. 21, 2022, 4:12 p.m. UTC
Signed-off-by: Peter Griffin <peter.griffin@linaro.org>
---
 configs/rock-pi-4-rk3399_defconfig | 3 +++
 1 file changed, 3 insertions(+)

Comments

Simon Glass March 12, 2022, 2:24 a.m. UTC | #1
On Mon, 21 Feb 2022 at 09:13, Peter Griffin <peter.griffin@linaro.org> wrote:
>
> Signed-off-by: Peter Griffin <peter.griffin@linaro.org>
> ---
>  configs/rock-pi-4-rk3399_defconfig | 3 +++
>  1 file changed, 3 insertions(+)

Reviewed-by: Simon Glass <sjg@chromium.org>
Kever Yang March 14, 2022, 8:15 a.m. UTC | #2
Hi Peter,
    Thanks for your patch, could you add a description in the commit
message about why do we need to enable OPTEE in U-Boot, I think this
is the first commit for RK3399 to enable OPTEE.

Thanks,
- Kever

Peter Griffin <peter.griffin@linaro.org> 于2022年2月22日周二 00:13写道:
>
> Signed-off-by: Peter Griffin <peter.griffin@linaro.org>
> ---
>  configs/rock-pi-4-rk3399_defconfig | 3 +++
>  1 file changed, 3 insertions(+)
>
> diff --git a/configs/rock-pi-4-rk3399_defconfig b/configs/rock-pi-4-rk3399_defconfig
> index 4f15627d59..93dfeb9d95 100644
> --- a/configs/rock-pi-4-rk3399_defconfig
> +++ b/configs/rock-pi-4-rk3399_defconfig
> @@ -54,6 +54,8 @@ CONFIG_DM_RESET=y
>  CONFIG_BAUDRATE=1500000
>  CONFIG_DEBUG_UART_SHIFT=2
>  CONFIG_SYSRESET=y
> +CONFIG_TEE=y
> +CONFIG_OPTEE=y
>  CONFIG_USB=y
>  CONFIG_USB_XHCI_HCD=y
>  CONFIG_USB_XHCI_DWC3=y
> @@ -75,3 +77,4 @@ CONFIG_VIDEO_ROCKCHIP=y
>  CONFIG_DISPLAY_ROCKCHIP_HDMI=y
>  CONFIG_SPL_TINY_MEMSET=y
>  CONFIG_ERRNO_STR=y
> +# CONFIG_OPTEE_LIB is not set
> --
> 2.25.1
>
diff mbox series

Patch

diff --git a/configs/rock-pi-4-rk3399_defconfig b/configs/rock-pi-4-rk3399_defconfig
index 4f15627d59..93dfeb9d95 100644
--- a/configs/rock-pi-4-rk3399_defconfig
+++ b/configs/rock-pi-4-rk3399_defconfig
@@ -54,6 +54,8 @@  CONFIG_DM_RESET=y
 CONFIG_BAUDRATE=1500000
 CONFIG_DEBUG_UART_SHIFT=2
 CONFIG_SYSRESET=y
+CONFIG_TEE=y
+CONFIG_OPTEE=y
 CONFIG_USB=y
 CONFIG_USB_XHCI_HCD=y
 CONFIG_USB_XHCI_DWC3=y
@@ -75,3 +77,4 @@  CONFIG_VIDEO_ROCKCHIP=y
 CONFIG_DISPLAY_ROCKCHIP_HDMI=y
 CONFIG_SPL_TINY_MEMSET=y
 CONFIG_ERRNO_STR=y
+# CONFIG_OPTEE_LIB is not set