utils_def: Add REGSZ and make BIT() assembly-compatible
In assembly code it can be useful to have a constant for the width of a
register in the current architecture, so this patch adds one to
<utils_def.h> and replaces the existing custom one in crash_reporting.S
with that. It also fixes up the BIT() macro in the same file so that it
can be safely used in assembly code.

Change-Id: I10513a311f3379e767396e6ddfbae8d2d8201464
Signed-off-by: Julius Werner <jwerner@chromium.org>
1 parent 211d307 commit 155a10068ac6feefcc783b7b023fc90390e5cc44
@Julius Werner Julius Werner authored on 12 Dec 2017
Showing 2 changed files
View
bl31/aarch64/crash_reporting.S
View
include/lib/utils_def.h