Revision e927bb00 hw/omap.h
b/hw/omap.h | ||
---|---|---|
695 | 695 |
struct omap_mcspi_s *omap_mcspi_init(struct omap_target_agent_s *ta, int chnum, |
696 | 696 |
qemu_irq irq, qemu_irq *drq, omap_clk fclk, omap_clk iclk); |
697 | 697 |
void omap_mcspi_attach(struct omap_mcspi_s *s, |
698 |
uint32_t (*txrx)(void *opaque, uint32_t), void *opaque, |
|
698 |
uint32_t (*txrx)(void *opaque, uint32_t, int), void *opaque,
|
|
699 | 699 |
int chipselect); |
700 | 700 |
|
701 | 701 |
struct omap_rtc_s; |
... | ... | |
1012 | 1012 |
#define OMAP_TAG_FLASH_PART_STR 0x4f81 |
1013 | 1013 |
#define OMAP_TAG_VERSION_STR 0x4f82 |
1014 | 1014 |
|
1015 |
enum { |
|
1016 |
OMAP_GPIOSW_TYPE_COVER = 0 << 4, |
|
1017 |
OMAP_GPIOSW_TYPE_CONNECTION = 1 << 4, |
|
1018 |
OMAP_GPIOSW_TYPE_ACTIVITY = 2 << 4, |
|
1019 |
}; |
|
1020 |
|
|
1021 |
#define OMAP_GPIOSW_INVERTED 0x0001 |
|
1022 |
#define OMAP_GPIOSW_OUTPUT 0x0002 |
|
1023 |
|
|
1015 | 1024 |
# define TCMI_VERBOSE 1 |
1016 | 1025 |
//# define MEM_VERBOSE 1 |
1017 | 1026 |
|
Also available in: Unified diff