diff options
author | Arnd Bergmann <arnd@arndb.de> | 2016-06-24 12:49:57 +0200 |
---|---|---|
committer | Shawn Guo <shawnguo@kernel.org> | 2016-06-28 10:26:34 +0800 |
commit | c9ee94965dce7b66964c5f0b0db892055757d608 (patch) | |
tree | 9172521013d3755639b67c458f373db701e7f81a /arch/arm/mach-imx/Kconfig | |
parent | 6f98cb22e4089c3eb63ff86fac010291a0e30241 (diff) | |
download | linux-c9ee94965dce7b66964c5f0b0db892055757d608.tar.gz linux-c9ee94965dce7b66964c5f0b0db892055757d608.tar.bz2 linux-c9ee94965dce7b66964c5f0b0db892055757d608.zip |
ARM: imx: deconstruct mxc_rnga initialization
The rnga platform device is initialized for all imx31 machines
from its own initcall, but is never initialized anywhere else.
This moves the platform device creation into both the imx31
dt and non-dt machine init sequences, which has basically the
exact same effect as before, but makes it more obvious what
is going on, while reducing the amount of code and removing
the last user of cpu_is_mx31().
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Diffstat (limited to 'arch/arm/mach-imx/Kconfig')
-rw-r--r-- | arch/arm/mach-imx/Kconfig | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/arm/mach-imx/Kconfig b/arch/arm/mach-imx/Kconfig index dd905b9602a0..7816321d7a99 100644 --- a/arch/arm/mach-imx/Kconfig +++ b/arch/arm/mach-imx/Kconfig @@ -44,9 +44,6 @@ config MXC_USE_EPIT uses the same clocks as the GPT. Anyway, on some systems the GPT may be in use for other purposes. -config ARCH_HAS_RNGA - bool - config HAVE_IMX_ANATOP bool @@ -90,7 +87,6 @@ config SOC_IMX27 config SOC_IMX31 bool select CPU_V6 - select IMX_HAVE_PLATFORM_MXC_RNGA select MXC_AVIC select SMP_ON_UP if SMP |