diff options
author | Nitesh Narayan Lal <b44382@freescale.com> | 2014-09-01 11:30:44 +0200 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2014-09-15 13:44:11 +0200 |
commit | fb4562b20894444288152e6de67c28adac6c789d (patch) | |
tree | 0eb2522be23d7ab78faa6fa913ed523e166a760a /drivers/rtc/rtc-dev.c | |
parent | Merge git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6 (diff) | |
download | linux-fb4562b20894444288152e6de67c28adac6c789d.tar.xz linux-fb4562b20894444288152e6de67c28adac6c789d.zip |
crypto: caam - Dynamic allocation of addresses for various memory blocks in CAAM.
CAAM's memory is broken into following address blocks:
Block Included Registers
0 General Registers
1-4 Job ring registers
6 RTIC registers
7 QI registers
8 DECO and CCB
Size of the above stated blocks varies in various platforms. The block size can be 4K or 64K.
The block size can be dynamically determined by reading CTPR register in CAAM.
This patch initializes the block addresses dynamically based on the value read from this register.
Signed-off-by: Ruchika Gupta <r66431@freescale.com>
Signed-off-by: Nitesh Narayan Lal <b44382@freescale.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/rtc/rtc-dev.c')
0 files changed, 0 insertions, 0 deletions