CCN: Add API to query the PART0 ID from CCN
This patch adds the API `ccn_get_part0_id` to query the PART0 ID from the
PERIPHERAL_ID 0 register in the CCN driver. This ID allows to distinguish
the variant of CCN present on the system and possibly enable dynamic
configuration of the IP based on the variant. Also added an assert in
`ccn_master_to_rn_id_map()` to ensure that the master map bitfield provided
by the platform is within the expected interface id.

Change-Id: I92d2db7bd93a9be8a7fbe72a522cbcba0aba2d0e
1 parent e141aa0 commit 6331a31a66cdcf53421d3dccd3067f072c6da175
@Soby Mathew Soby Mathew authored on 23 Mar 2016
Showing 3 changed files
View
drivers/arm/ccn/ccn.c
View
drivers/arm/ccn/ccn_private.h
View
include/drivers/arm/ccn.h