fsl_sec: fix register layout on Layerscape architectures
authorLaurentiu Tudor <laurentiu.tudor@nxp.com>
Tue, 26 Feb 2019 11:18:32 +0000 (13:18 +0200)
committerPrabhakar Kushwaha <prabhakar.kushwaha@nxp.com>
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 <laurentiu.tudor@nxp.com>
Reviewed-by: Horia Geanta <horia.geanta@nxp.com>
Reviewed-by: Bharat Bhushan <bharat.bhushan@nxp.com>
Reviewed-by: Prabhakar Kushwaha <prabhakar.kushwaha@nxp.com>
include/fsl_sec.h