mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-08 18:23:57 -06:00
hw/intc/arm_gicv3_its: Remove redundant ITS_CTLR_ENABLED define
We currently define a bitmask for the GITS_CTLR ENABLED bit in two ways: as ITS_CTLR_ENABLED, and via the FIELD() macro as R_GITS_CTLR_ENABLED_MASK. Consistently use the FIELD macro version everywhere and remove the redundant ITS_CTLR_ENABLED define. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Alex Bennée <alex.bennee@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
This commit is contained in:
parent
a120157b24
commit
8d2d6dd9bb
2 changed files with 10 additions and 12 deletions
|
@ -289,8 +289,6 @@ FIELD(GITS_TYPER, CIL, 36, 1)
|
|||
|
||||
#define GITS_IDREGS 0xFFD0
|
||||
|
||||
#define ITS_CTLR_ENABLED (1U) /* ITS Enabled */
|
||||
|
||||
#define GITS_BASER_RO_MASK (R_GITS_BASER_ENTRYSIZE_MASK | \
|
||||
R_GITS_BASER_TYPE_MASK)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue