summaryrefslogtreecommitdiff
path: root/hw/primecell.h
blob: e709ad3630a82bd5a5b177e9fbe45e3eed47af8d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#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