diff options
author | Thierry Reding <treding@nvidia.com> | 2014-08-26 15:34:21 (GMT) |
---|---|---|
committer | Albert ARIBAUD <albert.u.boot@aribaud.net> | 2014-11-12 06:25:42 (GMT) |
commit | 25026fa9f16dd5f9182b47f76ce5043cb35da3f4 (patch) | |
tree | 987555c18dc82693c3d7946300e9afcab4721d81 /common | |
parent | b9297c22661437aa57281d9e4f901a7f6c6b6f12 (diff) | |
download | u-boot-25026fa9f16dd5f9182b47f76ce5043cb35da3f4.tar.xz |
ARM: cache-cp15: Use more accurate types
size_t is the canonical type to represent variables that contain a size.
Use it instead of signed integer. Physical addresses can be larger than
32-bit, so use a more appropriate type for them as well. phys_addr_t is
a type that is 32-bit on systems that use 32-bit addresses and 64-bit if
the system is 64-bit or uses a form of physical address extension to use
a larger address space on 32-bit systems. Using these types the same API
can be implemented on a wider range of systems.
Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'common')
0 files changed, 0 insertions, 0 deletions