]>
Commit | Line | Data |
---|---|---|
1 | #ifndef PRIMECELL_H | |
2 | #define PRIMECELL_H | |
3 | ||
4 | /* Declarations for ARM PrimeCell based periperals. */ | |
5 | /* Also includes some devices that are currently only used by the | |
6 | ARM boards. */ | |
7 | ||
8 | /* pl080.c */ | |
9 | void *pl080_init(uint32_t base, qemu_irq irq, int nchannels); | |
10 | ||
11 | /* arm_sysctl.c */ | |
12 | void arm_sysctl_init(uint32_t base, uint32_t sys_id, uint32_t proc_id); | |
13 | ||
14 | /* arm_sysctl GPIO lines */ | |
15 | #define ARM_SYSCTL_GPIO_MMC_WPROT 0 | |
16 | #define ARM_SYSCTL_GPIO_MMC_CARDIN 1 | |
17 | ||
18 | #endif |