diff options
author | Dan Douglass <dan.douglass@freescale.com> | 2014-02-20 11:25:56 -0600 |
---|---|---|
committer | Dan Douglass <dan.douglass@freescale.com> | 2016-02-01 16:04:56 -0600 |
commit | e8739e093d58582ea8da1f4416496528e969ac25 (patch) | |
tree | 1b985cb9da655b3db367bde1da184edab75f7e84 /arch/arm/mach-imx | |
parent | cc2761643a119c67bc202c3e9114b7be4260e55a (diff) |
MLK-12343 MX6SL-EVK missing hardware random number generator.
ENGR00292341 imx6sl hwrng
Add hwrng support for i.MX6SL.
1. Add RNG driver. This driver originated as fsl-rngc.c. It
has been modified to support device tree. The name has been
changed since it supports both b and c variants of RNG.
2. Added clock and compatible info to the device tree data.
3. Added the entry in the options in the Kconfig for hwrng.
(cherry picked from commit 1f3f2c0647b7319c4e23293a61512e4191593513)
[<vicki.milhoan@freescale.com>: Edited to apply to 3.14]
Signed-off-by: Dan Douglass <dan.douglass@freescale.com>
Signed-off-by: Victoria Milhoan <vicki.milhoan@freescale.com>
Diffstat (limited to 'arch/arm/mach-imx')
-rw-r--r-- | arch/arm/mach-imx/Kconfig | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/mach-imx/Kconfig b/arch/arm/mach-imx/Kconfig index 0bfba2d64ccc..f834eda794fa 100644 --- a/arch/arm/mach-imx/Kconfig +++ b/arch/arm/mach-imx/Kconfig @@ -46,6 +46,9 @@ config MXC_USE_EPIT config ARCH_HAS_RNGA bool +config HAVE_IMX_RNG + bool + config HAVE_IMX_ANATOP bool @@ -582,6 +585,7 @@ config SOC_IMX6Q config SOC_IMX6SL bool "i.MX6 SoloLite support" + select HAVE_IMX_RNG select PINCTRL_IMX6SL select SOC_IMX6 |