fsl_sec: fix register layout on Layerscape architectures
authorLaurentiu Tudor <[email protected]>
Tue, 26 Feb 2019 11:18:32 +0000 (13:18 +0200)
committerPrabhakar Kushwaha <[email protected]>
Sun, 3 Mar 2019 16:31:04 +0000 (22:01 +0530)
commitd8d5fdb7b2ab9154beee2936082bfb65bf4d9209
treebfb41a059399d83eb579695134b487fedf7f3ea3
parent910e8fdaac3896792512451c9d8323de3e86b1c0
fsl_sec: fix register layout on Layerscape architectures

On Layerscape architectures the SEC memory map is 1MB and the
register blocks contained in it are 64KB aligned, not 4KB as
the ccsr_sec structure currently assumes. Fix the layout of
the structure for these architectures.

Signed-off-by: Laurentiu Tudor <[email protected]>
Reviewed-by: Horia Geanta <[email protected]>
Reviewed-by: Bharat Bhushan <[email protected]>
Reviewed-by: Prabhakar Kushwaha <[email protected]>
include/fsl_sec.h