hw/arm/stellaris: Use DEVCAP macro to access DeviceCapability registers
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Fri, 10 Jan 2025 16:02:00 +0000 (17:02 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Mon, 27 Jan 2025 14:28:40 +0000 (14:28 +0000)
commitb7c55f596cc8b6cd85aeed08846da677e7261b5c
tree1be01fad83ac29e1998a74d549739a9ef6fedf21
parent7330c1c5c61acd8172ff218dd9e169cd2a4fa87b
hw/arm/stellaris: Use DEVCAP macro to access DeviceCapability registers

Add definitions (DCx_periph) for the DeviceCapability bits,
replace direct bitmask checks with the DEV_CAP() macro,
which use the extract/deposit API.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Message-id: 20250110160204.74997-6-philmd@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/arm/stellaris.c