Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit fb4562b2 authored by Nitesh Narayan Lal's avatar Nitesh Narayan Lal Committed by Herbert Xu
Browse files

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: default avatarRuchika Gupta <r66431@freescale.com>
Signed-off-by: default avatarNitesh Narayan Lal <b44382@freescale.com>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent ea2d9fc1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment