2007-11-18 01:14:51 +08: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);
|
|
|
|
|
|
|
|
/* arm_sysctl.c */
|
2009-11-13 11:30:33 +08:00
|
|
|
void arm_sysctl_init(uint32_t base, uint32_t sys_id, uint32_t proc_id);
|
2007-11-18 01:14:51 +08:00
|
|
|
|
2011-02-22 04:57:50 +08:00
|
|
|
/* arm_sysctl GPIO lines */
|
|
|
|
#define ARM_SYSCTL_GPIO_MMC_WPROT 0
|
|
|
|
#define ARM_SYSCTL_GPIO_MMC_CARDIN 1
|
|
|
|
|
2007-11-18 01:14:51 +08:00
|
|
|
#endif
|