switch-l4t-atf/drivers
Vikram Kanigiri 609ebce425 Fix TZC-400 peripheral detection
The TZC-400 driver implementation incorrectly uses the component
ID registers to detect the TZC-400 peripheral. As all ARM
peripherals share the same component ID, it doesn't allow to
uniquely identify the TZC-400 peripheral. This patch fixes the
TZC-400 driver by relying on the `part_number_0` and
`part_number_1` fields in the `PID` registers instead.
The `tzc_read_component_id` function has been replaced by
`tzc_read_peripheral_id`, which reads the 'part_number' values
and compares them with the TZC-400 peripheral ID.

Also, it adds a debug assertion to detect when the TZC driver
initialisation function is called multiple times.

Change-Id: I35949f6501a51c0a794144cd1c3a6db62440dce6
2015-11-27 13:47:13 +00:00
..
arm Fix TZC-400 peripheral detection 2015-11-27 13:47:13 +00:00
auth TBB: add TBBR Chain of Trust 2015-06-25 08:53:27 +01:00
console Use uintptr_t as base address type in ARM driver APIs 2015-07-09 11:53:32 +01:00
delay_timer Add a simple delay timer driver API 2015-06-17 13:13:54 +01:00
io Remove deprecated IO return definitions 2015-11-02 10:47:01 +00:00
ti/uart Driver for 16550 UART interface 2015-05-29 11:25:20 +05:30