diff options
author | Juan Castillo <juan.castillo@arm.com> | 2014-09-09 09:49:23 +0100 |
---|---|---|
committer | Juan Castillo <juan.castillo@arm.com> | 2015-07-09 11:53:32 +0100 |
commit | 02462972c952c1b750b011f7e985d04d0a1556aa (patch) | |
tree | f2bbccd2b8b8243dc899625a3383d74fc64ba96f /include/drivers/arm/cci.h | |
parent | 84f95bed549eab4ca40fbd0505e0e3720384880c (diff) | |
download | platform_external_arm-trusted-firmware-02462972c952c1b750b011f7e985d04d0a1556aa.tar.gz platform_external_arm-trusted-firmware-02462972c952c1b750b011f7e985d04d0a1556aa.tar.bz2 platform_external_arm-trusted-firmware-02462972c952c1b750b011f7e985d04d0a1556aa.zip |
Use uintptr_t as base address type in ARM driver APIs
This patch changes the type of the base address parameter in the
ARM device driver APIs to uintptr_t (GIC, CCI, TZC400, PL011). The
uintptr_t type allows coverage of the whole memory space and to
perform arithmetic operations on the addresses. ARM platform code
has also been updated to use uintptr_t as GIC base address in the
configuration.
Fixes ARM-software/tf-issues#214
Change-Id: I1b87daedadcc8b63e8f113477979675e07d788f1
Diffstat (limited to 'include/drivers/arm/cci.h')
-rw-r--r-- | include/drivers/arm/cci.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/drivers/arm/cci.h b/include/drivers/arm/cci.h index 2401e85a5..1145f91b6 100644 --- a/include/drivers/arm/cci.h +++ b/include/drivers/arm/cci.h @@ -146,7 +146,7 @@ * SLAVE_IF_UNUSED should be used in the map to represent no AMBA 4 master exists * for that interface. */ -void cci_init(unsigned long cci_base, +void cci_init(uintptr_t cci_base, const int *map, unsigned int num_cci_masters); |