[U-Boot] [PATCH V2 1/3] cpu: exynos4: ace_sha: add hardware random number generator support.

Minkyu Kang
2014-03-13T01:58:35Z

On 06/03/14 01:57, Przemyslaw Marczak wrote:
> This patch adds implementation of function hw_rand() based on exynos
> security sub system.
>
> Signed-off-by: Przemyslaw Marczak <p.marczak@samsung.com>
> cc: Akshay Saraswat <akshay.s@samsung.com>
> cc: ARUN MANKUZHI <arun.m@samsung.com>
> cc: Minkyu Kang <mk7.kang@samsung.com>
> ---
> Changes v2:
> - none
>
> arch/arm/include/asm/arch-exynos/cpu.h | 4 ++--
> drivers/crypto/ace_sha.c | 41 ++++++++++++++++++++++++++++++++
> drivers/crypto/ace_sha.h | 8 ++++---
> 3 files changed, 48 insertions(+), 5 deletions(-)
>
> diff --git a/arch/arm/include/asm/arch-exynos/cpu.h b/arch/arm/include/asm/arch-exynos/cpu.h
> index bccce63..a5c280d 100644
> --- a/arch/arm/include/asm/arch-exynos/cpu.h
> +++ b/arch/arm/include/asm/arch-exynos/cpu.h
> @@ -48,7 +48,7 @@
> #define EXYNOS4_GPIO_PART4_BASE DEVICE_NOT_AVAILABLE
> #define EXYNOS4_DP_BASE DEVICE_NOT_AVAILABLE
> #define EXYNOS4_SPI_ISP_BASE DEVICE_NOT_AVAILABLE
> -#define EXYNOS4_ACE_SFR_BASE DEVICE_NOT_AVAILABLE
> +#define EXYNOS4_ACE_SFR_BASE 0x10830000

please sort this list as others.

> #define EXYNOS4_DMC_PHY_BASE DEVICE_NOT_AVAILABLE
> #define EXYNOS4_AUDIOSS_BASE DEVICE_NOT_AVAILABLE
> #define EXYNOS4_USB_HOST_XHCI_BASE DEVICE_NOT_AVAILABLE
> @@ -87,7 +87,7 @@
> #define EXYNOS4X12_I2S_BASE DEVICE_NOT_AVAILABLE
> #define EXYNOS4X12_SPI_BASE DEVICE_NOT_AVAILABLE
> #define EXYNOS4X12_SPI_ISP_BASE DEVICE_NOT_AVAILABLE
> -#define EXYNOS4X12_ACE_SFR_BASE DEVICE_NOT_AVAILABLE
> +#define EXYNOS4X12_ACE_SFR_BASE 0x10830000
> #define EXYNOS4X12_DMC_PHY_BASE DEVICE_NOT_AVAILABLE
> #define EXYNOS4X12_AUDIOSS_BASE DEVICE_NOT_AVAILABLE
> #define EXYNOS4X12_USB_HOST_XHCI_BASE DEVICE_NOT_AVAILABLE

Thanks,
Minkyu Kang.