54de1e5b3a
Drop the legacy init function arm_sysctl_init(), since it has no users left any more. This allows us to drop the awkward '1' from the actual device init function. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Acked-by: Andreas Färber <afaerber@suse.de>
16 lines
369 B
C
16 lines
369 B
C
#ifndef PRIMECELL_H
|
|
#define PRIMECELL_H
|
|
|
|
/* Declarations for ARM PrimeCell based periperals. */
|
|
/* Also includes some devices that are currently only used by the
|
|
ARM boards. */
|
|
|
|
/* pl080.c */
|
|
void *pl080_init(uint32_t base, qemu_irq irq, int nchannels);
|
|
|
|
/* arm_sysctl GPIO lines */
|
|
#define ARM_SYSCTL_GPIO_MMC_WPROT 0
|
|
#define ARM_SYSCTL_GPIO_MMC_CARDIN 1
|
|
|
|
#endif
|