diff options
Diffstat (limited to 'arch/arm/plat-omap/include')
-rw-r--r-- | arch/arm/plat-omap/include/plat/board.h | 2 | ||||
-rw-r--r-- | arch/arm/plat-omap/include/plat/common.h | 2 | ||||
-rw-r--r-- | arch/arm/plat-omap/include/plat/dma.h | 1 | ||||
-rw-r--r-- | arch/arm/plat-omap/include/plat/dmtimer.h | 4 | ||||
-rw-r--r-- | arch/arm/plat-omap/include/plat/gpio.h | 3 | ||||
-rw-r--r-- | arch/arm/plat-omap/include/plat/omap-serial.h | 1 |
6 files changed, 9 insertions, 4 deletions
diff --git a/arch/arm/plat-omap/include/plat/board.h b/arch/arm/plat-omap/include/plat/board.h index d5eb4c87db9d..4814c5b65306 100644 --- a/arch/arm/plat-omap/include/plat/board.h +++ b/arch/arm/plat-omap/include/plat/board.h | |||
@@ -91,6 +91,8 @@ struct omap_usb_config { | |||
91 | u32 (*usb0_init)(unsigned nwires, unsigned is_device); | 91 | u32 (*usb0_init)(unsigned nwires, unsigned is_device); |
92 | u32 (*usb1_init)(unsigned nwires); | 92 | u32 (*usb1_init)(unsigned nwires); |
93 | u32 (*usb2_init)(unsigned nwires, unsigned alt_pingroup); | 93 | u32 (*usb2_init)(unsigned nwires, unsigned alt_pingroup); |
94 | |||
95 | int (*ocpi_enable)(void); | ||
94 | }; | 96 | }; |
95 | 97 | ||
96 | struct omap_lcd_config { | 98 | struct omap_lcd_config { |
diff --git a/arch/arm/plat-omap/include/plat/common.h b/arch/arm/plat-omap/include/plat/common.h index 55c514be382e..d1cb6f527b7e 100644 --- a/arch/arm/plat-omap/include/plat/common.h +++ b/arch/arm/plat-omap/include/plat/common.h | |||
@@ -32,6 +32,8 @@ | |||
32 | 32 | ||
33 | extern int __init omap_init_clocksource_32k(void __iomem *vbase); | 33 | extern int __init omap_init_clocksource_32k(void __iomem *vbase); |
34 | 34 | ||
35 | extern void __init omap_check_revision(void); | ||
36 | |||
35 | extern void omap_reserve(void); | 37 | extern void omap_reserve(void); |
36 | extern int omap_dss_reset(struct omap_hwmod *); | 38 | extern int omap_dss_reset(struct omap_hwmod *); |
37 | 39 | ||
diff --git a/arch/arm/plat-omap/include/plat/dma.h b/arch/arm/plat-omap/include/plat/dma.h index 77422041e7be..c5811d4409b0 100644 --- a/arch/arm/plat-omap/include/plat/dma.h +++ b/arch/arm/plat-omap/include/plat/dma.h | |||
@@ -447,6 +447,7 @@ struct omap_system_dma_plat_info { | |||
447 | u32 (*dma_read)(int reg, int lch); | 447 | u32 (*dma_read)(int reg, int lch); |
448 | }; | 448 | }; |
449 | 449 | ||
450 | extern void __init omap_init_consistent_dma_size(void); | ||
450 | extern void omap_set_dma_priority(int lch, int dst_port, int priority); | 451 | extern void omap_set_dma_priority(int lch, int dst_port, int priority); |
451 | extern int omap_request_dma(int dev_id, const char *dev_name, | 452 | extern int omap_request_dma(int dev_id, const char *dev_name, |
452 | void (*callback)(int lch, u16 ch_status, void *data), | 453 | void (*callback)(int lch, u16 ch_status, void *data), |
diff --git a/arch/arm/plat-omap/include/plat/dmtimer.h b/arch/arm/plat-omap/include/plat/dmtimer.h index f0511a975024..5da73562e486 100644 --- a/arch/arm/plat-omap/include/plat/dmtimer.h +++ b/arch/arm/plat-omap/include/plat/dmtimer.h | |||
@@ -315,12 +315,12 @@ static inline void __omap_dm_timer_init_regs(struct omap_dm_timer *timer) | |||
315 | OMAP_TIMER_V1_SYS_STAT_OFFSET; | 315 | OMAP_TIMER_V1_SYS_STAT_OFFSET; |
316 | timer->irq_stat = timer->io_base + OMAP_TIMER_V1_STAT_OFFSET; | 316 | timer->irq_stat = timer->io_base + OMAP_TIMER_V1_STAT_OFFSET; |
317 | timer->irq_ena = timer->io_base + OMAP_TIMER_V1_INT_EN_OFFSET; | 317 | timer->irq_ena = timer->io_base + OMAP_TIMER_V1_INT_EN_OFFSET; |
318 | timer->irq_dis = 0; | 318 | timer->irq_dis = NULL; |
319 | timer->pend = timer->io_base + _OMAP_TIMER_WRITE_PEND_OFFSET; | 319 | timer->pend = timer->io_base + _OMAP_TIMER_WRITE_PEND_OFFSET; |
320 | timer->func_base = timer->io_base; | 320 | timer->func_base = timer->io_base; |
321 | } else { | 321 | } else { |
322 | timer->revision = 2; | 322 | timer->revision = 2; |
323 | timer->sys_stat = 0; | 323 | timer->sys_stat = NULL; |
324 | timer->irq_stat = timer->io_base + OMAP_TIMER_V2_IRQSTATUS; | 324 | timer->irq_stat = timer->io_base + OMAP_TIMER_V2_IRQSTATUS; |
325 | timer->irq_ena = timer->io_base + OMAP_TIMER_V2_IRQENABLE_SET; | 325 | timer->irq_ena = timer->io_base + OMAP_TIMER_V2_IRQENABLE_SET; |
326 | timer->irq_dis = timer->io_base + OMAP_TIMER_V2_IRQENABLE_CLR; | 326 | timer->irq_dis = timer->io_base + OMAP_TIMER_V2_IRQENABLE_CLR; |
diff --git a/arch/arm/plat-omap/include/plat/gpio.h b/arch/arm/plat-omap/include/plat/gpio.h index 2f6e9924a814..50fb7cc000ea 100644 --- a/arch/arm/plat-omap/include/plat/gpio.h +++ b/arch/arm/plat-omap/include/plat/gpio.h | |||
@@ -172,6 +172,8 @@ struct omap_gpio_reg_offs { | |||
172 | u16 clr_dataout; | 172 | u16 clr_dataout; |
173 | u16 irqstatus; | 173 | u16 irqstatus; |
174 | u16 irqstatus2; | 174 | u16 irqstatus2; |
175 | u16 irqstatus_raw0; | ||
176 | u16 irqstatus_raw1; | ||
175 | u16 irqenable; | 177 | u16 irqenable; |
176 | u16 irqenable2; | 178 | u16 irqenable2; |
177 | u16 set_irqenable; | 179 | u16 set_irqenable; |
@@ -193,7 +195,6 @@ struct omap_gpio_reg_offs { | |||
193 | }; | 195 | }; |
194 | 196 | ||
195 | struct omap_gpio_platform_data { | 197 | struct omap_gpio_platform_data { |
196 | u16 virtual_irq_start; | ||
197 | int bank_type; | 198 | int bank_type; |
198 | int bank_width; /* GPIO bank width */ | 199 | int bank_width; /* GPIO bank width */ |
199 | int bank_stride; /* Only needed for omap1 MPUIO */ | 200 | int bank_stride; /* Only needed for omap1 MPUIO */ |
diff --git a/arch/arm/plat-omap/include/plat/omap-serial.h b/arch/arm/plat-omap/include/plat/omap-serial.h index 9ff444469f3d..1a52725ffcf2 100644 --- a/arch/arm/plat-omap/include/plat/omap-serial.h +++ b/arch/arm/plat-omap/include/plat/omap-serial.h | |||
@@ -65,7 +65,6 @@ struct omap_uart_port_info { | |||
65 | bool dma_enabled; /* To specify DMA Mode */ | 65 | bool dma_enabled; /* To specify DMA Mode */ |
66 | unsigned int uartclk; /* UART clock rate */ | 66 | unsigned int uartclk; /* UART clock rate */ |
67 | upf_t flags; /* UPF_* flags */ | 67 | upf_t flags; /* UPF_* flags */ |
68 | u32 errata; | ||
69 | unsigned int dma_rx_buf_size; | 68 | unsigned int dma_rx_buf_size; |
70 | unsigned int dma_rx_timeout; | 69 | unsigned int dma_rx_timeout; |
71 | unsigned int autosuspend_timeout; | 70 | unsigned int autosuspend_timeout; |