]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
MLK-9951 Update CAAM driver era interface
authorVictoria Milhoan <vicki.milhoan@freescale.com>
Thu, 20 Nov 2014 18:28:28 +0000 (11:28 -0700)
committerNitin Garg <nitin.garg@freescale.com>
Fri, 16 Jan 2015 03:19:57 +0000 (21:19 -0600)
commitd061821cf3536ae4977e880f443d400bee809316
tree9ecf724223d94f95d19d1b50ebb51c63ebce10ab
parent6e7877b9c824dd55d39a7b9eed4fca3eb01d8d73
MLK-9951 Update CAAM driver era interface

Add more CAAM era values to the CAAM driver's caam_get_era()
function. Read only 32 bits of data since the data required
to identify the IP_ID and MAJ_REV is located in the first 32
bits of the register. And, update the function for use with
ARM/Little Endian devices.

[<vicki.milhoan@freescale.com>: Edited to apply to 3.14]
Signed-off-by: Victoria Milhoan <vicki.milhoan@freescale.com>
(cherry picked from commit 6050d7faf2d0c063195aa9454c130548a9f8058f)
drivers/crypto/caam/ctrl.c
drivers/crypto/caam/ctrl.h
drivers/crypto/caam/regs.h