Simplify interface to TZC-400 driver
authorDan Handley <dan.handley@arm.com>
Mon, 4 Aug 2014 18:53:05 +0000 (19:53 +0100)
committerDan Handley <dan.handley@arm.com>
Thu, 14 Aug 2014 10:17:52 +0000 (11:17 +0100)
commit3279f6251ebead329e4b0af2e42a7eae157bba52
tree1b326600f8bd492002aa2603ad51451af8802df0
parent935db693285d6b22b781571e9dec748da274ffe1
Simplify interface to TZC-400 driver

The TZC-400 driver previously allowed the possibility of multiple
controller instances to be present in the same executable. This
was unnecessary since there will only ever be one instance.

This change simplifies the tzc_init() function to only take the
base address argument needed by implementation, conforming to the
driver initialization model of other drivers. It also hides some
of the implementation details that were previously exposed by the
API.

The FVP port has been updated accordingly.

THIS CHANGE REQUIRES ALL PLATFORM PORTS THAT USE THE TZC-400
DRIVER TO BE UPDATED

Fixes ARM-software/tf-issues#181

Change-Id: I7b721edf947064989958d8f457d6462d92e742c8
drivers/arm/tzc400/tzc400.c
include/drivers/arm/tzc400.h
plat/fvp/fvp_def.h
plat/fvp/fvp_security.c