diff options
author | danh-arm <dan.handley@arm.com> | 2016-05-27 11:07:20 +0100 |
---|---|---|
committer | danh-arm <dan.handley@arm.com> | 2016-05-27 11:07:20 +0100 |
commit | 8c94f82c678312fcdfc3eee8b819ca1c0da723fb (patch) | |
tree | 003037879d9305b08452f220af2a286485f91175 /include | |
parent | e141aa0357fd4977ba874f4f86874e2cadc73498 (diff) | |
parent | 7123787616e21871319909508e80594c7f24f6b8 (diff) |
Merge pull request #627 from soby-mathew/sm/fvp_ccn502_sup_1
Add CCN support to FVP
Diffstat (limited to 'include')
-rw-r--r-- | include/drivers/arm/ccn.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/drivers/arm/ccn.h b/include/drivers/arm/ccn.h index 23615966..85c45c68 100644 --- a/include/drivers/arm/ccn.h +++ b/include/drivers/arm/ccn.h @@ -51,6 +51,13 @@ #define CCN_L3_RUN_MODE_HAM 0x2 /* HNF_PM_HALF */ #define CCN_L3_RUN_MODE_FAM 0x3 /* HNF_PM_FULL */ +/* part 0 IDs for various CCN variants */ +#define CCN_502_PART0_ID 0x30 +#define CCN_504_PART0_ID 0x26 +#define CCN_505_PART0_ID 0x27 +#define CCN_508_PART0_ID 0x28 +#define CCN_512_PART0_ID 0x29 + /* * The following macro takes the value returned from a read of a HN-F P-state * status register and returns the retention state value. @@ -107,6 +114,7 @@ void ccn_program_sys_addrmap(unsigned int sn0_id, unsigned int top_addr_bit1, unsigned char three_sn_en); unsigned int ccn_get_l3_run_mode(void); +int ccn_get_part0_id(uintptr_t periphbase); #endif /* __ASSEMBLY__ */ #endif /* __CCN_H__ */ |