Files
qemu-qemu/include/hw/misc/arm_sysctl.h
Peter Maydell 0a62934014 hw: Move ARM_SYSCTL_GPIO definitions to arm sysctl specific header
include/hw/arm/primecell.h used to be more expansive, but now the
only thing it defines is the ARM_SYSCTL_GPIO_* constants for the GPIO
lines for the arm-sysctl system-control device used on the Realview,
Versatile and Versatile Express boards.

Replace it with a header file specific to that device.

virt.c and vmapple.c included primecell.h despite not using the
constants it defined; there we can simply drop the include entirely.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-id: 20260416172627.690396-1-peter.maydell@linaro.org
2026-04-27 10:06:37 +01:00

17 lines
337 B
C

/*
* Status and system control registers for ARM RealView/Versatile boards.
*
* Copyright (c) Linaro Ltd
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
#ifndef HW_MISC_ARM_SYSCTL_H
#define HW_MISC_ARM_SYSCTL_H
/* arm_sysctl inbound GPIO lines */
#define ARM_SYSCTL_GPIO_MMC_WPROT 0
#define ARM_SYSCTL_GPIO_MMC_CARDIN 1
#endif