Differentiate `long` and `long long` formats in tf_printf
authorSoby Mathew <soby.mathew@arm.com>
Tue, 22 Mar 2016 17:38:00 +0000 (17:38 +0000)
committerSoby Mathew <soby.mathew@arm.com>
Thu, 7 Apr 2016 21:29:04 +0000 (22:29 +0100)
commitf2f5a7bd182f0e35bc65ed5622a9be83cd0f2d67
tree43b849d7bbee8b97b7238a62b487147a8ad4db75
parent7a0ae2f457d4d80daa94c357254fee757337ff28
Differentiate `long` and `long long` formats in tf_printf

This patch adds support to differentiate between `long` and `long long`
format specifiers in tf_printf(). In AArch64, they are the same which is
a 64-bit word. But, in AArch32 they are different and tf_printf() needs
to handle these format specifiers separately. This patch also fixes the
type of variables used to generic C types.

Change-Id: If3bbb0245cd0183acbe13bc1fe0d9743f417578f
common/tf_printf.c