]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: OMAP3: Fix crypto support for HS devices
authorPali Rohár <pali.rohar@gmail.com>
Thu, 26 Feb 2015 13:49:52 +0000 (14:49 +0100)
committerPaul Walmsley <paul@pwsan.com>
Tue, 2 Jun 2015 01:23:04 +0000 (19:23 -0600)
commit35bec575160d90765af2e7480f43e242c59ea579
tree4565cbc6f6e8b5c4055540ff52d846e01a489e25
parentf7a03148c68f55075920b5924a4b15f731d84d86
ARM: OMAP3: Fix crypto support for HS devices

Register crypto hwmod links only if they are not disabled in DT.
If DT information is missing, enable them only for GP devices.

Before this patch crypto hwmod links were always disabled for all HS
devices and it was not possible to use omap-aes and omap-sham linux
drivers.

Signed-off-by: Pali Rohár <pali.rohar@gmail.com>
Acked-by: Pavel Machek <pavel@ucw.cz>
[paul@pwsan.com: move the complex IP-block presence heuristics into their
 own function to simplify the code; fix some checkpatch warnings]
Signed-off-by: Paul Walmsley <paul@pwsan.com>
arch/arm/mach-omap2/omap_hwmod_3xxx_data.c