cpus: Fix some incorrect definitions in CPU headers
There are some values that should be 64-bit immediates but that resolve
to 0 because the type of the value is 32-bit wide. This patch casts the
expressions to 64-bit before the shift so that the definition has the
correct value.

The definitions are only used in assembly so far, so the code is not
actually affected by this bug. The assembler treats all values as 64-bit
values, so there are no overflows.

Change-Id: I965e4be631c1d28787c0913661d224c82a6b9155
Signed-off-by: Antonio Nino Diaz <antonio.ninodiaz@arm.com>
1 parent 873e394 commit a69817eda242d350f2ed9710eb2dbb1220b1cc17
@Antonio Nino Diaz Antonio Nino Diaz authored on 11 Feb 2019
Showing 4 changed files
View
include/lib/cpus/aarch32/cortex_a53.h
View
include/lib/cpus/aarch64/cortex_a53.h
View
include/lib/cpus/aarch64/cortex_a57.h
View
include/lib/cpus/aarch64/cortex_a75.h