diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2011-02-21 20:57:50 +0000 |
---|---|---|
committer | Aurelien Jarno <aurelien@aurel32.net> | 2011-03-06 19:01:30 +0100 |
commit | b50ff6f524fae78c7d79b27b00af701d7c28e80c (patch) | |
tree | bed8c0afa225bcdd5c99b6d0443a5cd82af3aa59 /hw/primecell.h | |
parent | c31a4724e25ef867acda0eafc7ddb3999e4bb204 (diff) | |
download | qemu-b50ff6f524fae78c7d79b27b00af701d7c28e80c.tar.gz |
hw/arm_sysctl.c: Wire MCI register MMC card status bits to GPIO inputs
Implement some GPIO inputs which a board can connect up to set the
MMC card status bits in the MCI register.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Diffstat (limited to 'hw/primecell.h')
-rw-r--r-- | hw/primecell.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/hw/primecell.h b/hw/primecell.h index fb456ad4a4..de7d6f2df2 100644 --- a/hw/primecell.h +++ b/hw/primecell.h @@ -11,4 +11,8 @@ void *pl080_init(uint32_t base, qemu_irq irq, int nchannels); /* arm_sysctl.c */ void arm_sysctl_init(uint32_t base, uint32_t sys_id, uint32_t proc_id); +/* arm_sysctl GPIO lines */ +#define ARM_SYSCTL_GPIO_MMC_WPROT 0 +#define ARM_SYSCTL_GPIO_MMC_CARDIN 1 + #endif |