From e0021706f64c53680bad92bbd4d6fabdfd974911 Mon Sep 17 00:00:00 2001 From: Przemyslaw Marczak Date: Tue, 25 Mar 2014 10:58:22 +0100 Subject: [PATCH] trats/trats2: enable exynos ace sha subsystem and hardware based lib rand This allows to use exynos random number generator by enabling configs: - CONFIG_EXYNOS_ACE_SHA - CONFIG_LIB_HW_RAND Signed-off-by: Przemyslaw Marczak Acked-by: Lukasz Majewski cc: Piotr Wilczek cc: Minkyu Kang --- include/configs/trats.h | 4 ++++ include/configs/trats2.h | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/include/configs/trats.h b/include/configs/trats.h index 7cea2592ff..c00d60a618 100644 --- a/include/configs/trats.h +++ b/include/configs/trats.h @@ -313,6 +313,10 @@ #define CONFIG_USB_GADGET_VBUS_DRAW 2 #define CONFIG_USB_CABLE_CHECK +/* Security subsystem - enable hw_rand() */ +#define CONFIG_EXYNOS_ACE_SHA +#define CONFIG_LIB_HW_RAND + /* Common misc for Samsung */ #define CONFIG_MISC_COMMON diff --git a/include/configs/trats2.h b/include/configs/trats2.h index 6d389df9df..59896b162e 100644 --- a/include/configs/trats2.h +++ b/include/configs/trats2.h @@ -324,6 +324,10 @@ int get_soft_i2c_sda_pin(void); #define CONFIG_USB_GADGET_VBUS_DRAW 2 #define CONFIG_USB_CABLE_CHECK +/* Security subsystem - enable hw_rand() */ +#define CONFIG_EXYNOS_ACE_SHA +#define CONFIG_LIB_HW_RAND + /* Common misc for Samsung */ #define CONFIG_MISC_COMMON -- 2.25.1