2007-11-17 20:14:51 +03:00
|
|
|
#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);
|
|
|
|
|
2011-02-21 23:57:50 +03:00
|
|
|
/* arm_sysctl GPIO lines */
|
|
|
|
#define ARM_SYSCTL_GPIO_MMC_WPROT 0
|
|
|
|
#define ARM_SYSCTL_GPIO_MMC_CARDIN 1
|
|
|
|
|
2007-11-17 20:14:51 +03:00
|
|
|
#endif
|