4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions
7 * 1. Redistributions of source code must retain this list of conditions
8 * and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce this list of conditions
10 * and the following disclaimer in the documentation and/or other materials
11 * provided with the distribution.
13 * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES,
14 * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
15 * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL ANY
16 * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
17 * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
18 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
19 * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
20 * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
21 * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
22 * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
25 #ifndef _ARM_OMAP_OMAP_EMIFS_H_
26 #define _ARM_OMAP_OMAP_EMIFS_H_
28 /* Extended Memory Interface Slow */
30 struct emifs_attach_args
{
31 bus_space_tag_t emifs_iot
; /* Bus tag */
32 bus_addr_t emifs_addr
; /* Address */
33 bus_size_t emifs_size
; /* Size of peripheral address space */
34 int emifs_intr
; /* IRQ number */
35 bus_dma_tag_t emifs_dmac
; /* DMA channel */
36 unsigned int emifs_mult
; /* Offset multiplier */
39 extern struct bus_space omap_bs_tag
;
40 extern struct arm32_bus_dma_tag omap_bus_dma_tag
;
41 extern struct bus_space omap_a4x_bs_tag
;
42 extern struct bus_space omap_a2x_bs_tag
;
43 extern struct bus_space nobyteacc_bs_tag
;
45 #endif /* _ARM_OMAP_OMAP_EMIFS_H_ */