| @@ -1,38 +1,43 @@ | | | @@ -1,38 +1,43 @@ |
1 | # $NetBSD: files.omap2,v 1.26 2013/06/15 21:55:09 matt Exp $ | | 1 | # $NetBSD: files.omap2,v 1.27 2013/06/18 15:22:37 matt Exp $ |
2 | # | | 2 | # |
3 | # Configuration info for Texas Instruments OMAP2/OMAP3 CPU support | | 3 | # Configuration info for Texas Instruments OMAP2/OMAP3 CPU support |
4 | # Based on xscale/files.pxa2x0 | | 4 | # Based on xscale/files.pxa2x0 |
5 | # | | 5 | # |
6 | | | 6 | |
7 | include "arch/arm/pic/files.pic" | | 7 | include "arch/arm/pic/files.pic" |
8 | include "arch/arm/cortex/files.cortex" | | 8 | include "arch/arm/cortex/files.cortex" |
9 | | | 9 | |
10 | file arch/arm/arm32/irq_dispatch.S | | 10 | file arch/arm/arm32/irq_dispatch.S |
11 | file arch/arm/omap/omap_dma.c | | 11 | file arch/arm/omap/omap_dma.c |
12 | | | 12 | |
13 | # Memory size in megabytes | | 13 | # Memory size in megabytes |
14 | defparam opt_omap.h MEMSIZE | | 14 | defparam opt_omap.h MEMSIZE |
15 | defparam opt_omap.h OMAP_EMIFF_PBASE OMAP_EMIFF_SIZE | | 15 | defparam opt_omap.h OMAP_EMIFF_PBASE OMAP_EMIFF_SIZE |
16 | defflag opt_omap.h OMAP2 | | 16 | defflag opt_omap.h OMAP2 |
17 | defflag opt_omap.h OMAP3: OMAP2 | | 17 | defflag opt_omap.h OMAP3: OMAP2 |
18 | defflag opt_omap.h OMAP4: OMAP3 | | 18 | defflag opt_omap.h OMAP4: OMAP3 |
19 | defflag opt_omap.h OMAP5: OMAP4 | | 19 | defflag opt_omap.h OMAP5: OMAP4 |
20 | defflag opt_omap.h OMAP_2430: OMAP2 | | 20 | defflag opt_omap.h OMAP_2XXX: OMAP2 |
21 | defflag opt_omap.h OMAP_2420: OMAP2 | | 21 | defflag opt_omap.h OMAP_2430: OMAP_2XXX |
22 | defflag opt_omap.h OMAP_3430: OMAP3 | | 22 | defflag opt_omap.h OMAP_2420: OMAP_2XXX |
23 | defflag opt_omap.h OMAP_3530: OMAP3 | | 23 | defflag opt_omap.h OMAP_3XXX: OMAP3 |
24 | defflag opt_omap.h OMAP_4430: OMAP4 | | 24 | defflag opt_omap.h OMAP_3430: OMAP_3XXX |
25 | defflag opt_omap.h OMAP_5430: OMAP4 | | 25 | defflag opt_omap.h OMAP_3530: OMAP_3XXX |
| | | 26 | defflag opt_omap.h OMAP_4XXX: OMAP4 |
| | | 27 | defflag opt_omap.h OMAP_4430: OMAP_4XXX |
| | | 28 | defflag opt_omap.h OMAP_4460: OMAP_4XXX |
| | | 29 | defflag opt_omap.h OMAP_5XXX: OMAP5 |
| | | 30 | defflag opt_omap.h OMAP_5430: OMAP_5XXX |
26 | defflag opt_omap.h TI_AM335X: OMAP3 | | 31 | defflag opt_omap.h TI_AM335X: OMAP3 |
27 | defflag opt_omap.h TI_DM37XX: OMAP3 | | 32 | defflag opt_omap.h TI_DM37XX: OMAP3 |
28 | | | 33 | |
29 | # OBIO just an attach point | | 34 | # OBIO just an attach point |
30 | device obio { [addr=-1], [size=0], [intr=-1], [mult=1], [intrbase=-1], [nobyteacc=0] | | 35 | device obio { [addr=-1], [size=0], [intr=-1], [mult=1], [intrbase=-1], [nobyteacc=0] |
31 | } : bus_space_generic | | 36 | } : bus_space_generic |
32 | attach obio at mainbus | | 37 | attach obio at mainbus |
33 | file arch/arm/omap/omap2_obio.c obio needs-count | | 38 | file arch/arm/omap/omap2_obio.c obio needs-count |
34 | | | 39 | |
35 | # OBIO files | | 40 | # OBIO files |
36 | file arch/arm/omap/omap_space.c obio | | 41 | file arch/arm/omap/omap_space.c obio |
37 | file arch/arm/omap/omap_a2x_space.c obio | | 42 | file arch/arm/omap/omap_a2x_space.c obio |
38 | file arch/arm/arm/bus_space_a2x.S obio | | 43 | file arch/arm/arm/bus_space_a2x.S obio |