1 # arm-specific changes for doing a LINT build.
7 makeoptions CONF_CFLAGS+="-march=armv7a"
9 # Add options for armv7 that are not in sys/conf/NOTES...
11 options FDT # Flattened device tree support
12 options FREEBSD_BOOT_LOADER # Process metadata passed from loader(8)
13 options LINUX_BOOT_ABI # Process metadata passed from U-Boot
14 options PLATFORM # Include platform_if support
15 options SMP # Nearly all v7 SoCs are multicore
16 options VFP # Enable floating point hardware support
18 # NOTE: dtrace introduces CDDL-licensed components into the kernel
19 device dtrace # dtrace core
20 device dtraceall # include all dtrace modules
23 # Add misc devices which are specific to various arm platforms...
25 device generic_timer # ARM Generic Timer
26 device gic # Interrupt controller
27 device gpio # gpio interface and bus
28 device mpcore_timer # ARM MPCore Timer
29 device pl310 # PL310 L2 cache controller
30 device pl330 # ARM PL330 dma controller
31 device pmu # PMU support (for CCNT).
32 device twsi # i2c controller on Marvel and Allwinner
33 device xdma # xDMA framework for SoC on-chip dma controllers
37 device pci_host_generic
39 # Annapurna Alpine drivers
40 device al_ccu # Alpine Cache Coherency Unit
41 device al_nb_service # Alpine North Bridge Service
42 device al_iofic # I/O Fabric Interrupt Controller
43 device al_serdes # Serializer/Deserializer
44 device al_udma # Universal DMA
45 device al_pci # Annapurna Alpine PCI-E
47 # Add pseudo devices...
62 # Early printf using the pl011 uart under the Arm FVP
63 options SOCDEV_PA=0x1c090000
64 options SOCDEV_VA=0x1c090000
65 options EARLY_PRINTF=pl011
67 # Undo options from sys/conf/NOTES that we do not want...
69 nooptions COMPAT_FREEBSD4
70 nooptions COMPAT_FREEBSD5
71 nooptions COMPAT_FREEBSD6
72 nooptions COMPAT_FREEBSD7
73 nooptions COMPAT_FREEBSD9
74 nooptions PPC_PROBE_CHIPSET
75 nooptions MAXCPU # value is set in machine/param.h
92 # Build SOC-specific modules...
94 makeoptions MODULES_EXTRA+="allwinner"
95 makeoptions MODULES_EXTRA+="imx"
99 makeoptions MODULES_EXTRA+="dtb/allwinner"
100 makeoptions MODULES_EXTRA+="dtb/imx6"
101 makeoptions MODULES_EXTRA+="dtb/nvidia"
102 makeoptions MODULES_EXTRA+="dtb/rpi"
103 makeoptions MODULES_EXTRA+="dtb/zynq"