Use unsigned long long instead of uintptr_t in TZC400/DMC500 drivers
Currently the `tzc400_configure_region` and `tzc_dmc500_configure_region`
functions uses uintptr_t as the data type for `region_top` and `region_base`
variables, which will be converted to 32/64 bits for AArch32/AArch64
respectively. But the expectation is to keep these addresses at least 64 bit.

This patch modifies the data types to make it at least 64 bit by using
unsigned long long instead of uintptr_t for the `region_top` and
`region_base` variables. It also modifies the associated macros
`_tzc##fn_name##_write_region_xxx` accordingly.

Change-Id: I4e3c6a8a39ad04205cf0f3bda336c3970b15a28b
1 parent 70fafab commit 9fbdb80209a4df6c0b0a696599e32987ae3b5135
@Yatharth Kochar Yatharth Kochar authored on 8 Apr 2016
Showing 5 changed files
View
drivers/arm/tzc/tzc400.c
View
drivers/arm/tzc/tzc_common_private.c
View
drivers/arm/tzc/tzc_dmc500.c
View
include/drivers/arm/tzc400.h
View
include/drivers/arm/tzc_dmc500.h