1# arm-specific changes for doing a LINT build. 2# $FreeBSD$ 3 4 5machine arm armv7 6cpu CPU_CORTEXA 7cpu CPU_MV_PJ4B 8makeoptions CONF_CFLAGS+="-march=armv7a" 9 10# Add options for armv7 that are not in sys/conf/NOTES... 11 12options FDT # Flattened device tree support 13options FREEBSD_BOOT_LOADER # Process metadata passed from loader(8) 14options INTRNG # Include INTRNG framework 15options LINUX_BOOT_ABI # Process metadata passed from U-Boot 16options PLATFORM # Include platform_if support 17options SMP # Nearly all v7 SoCs are multicore 18options VFP # Enable floating point hardware support 19 20# NOTE: dtrace introduces CDDL-licensed components into the kernel 21device dtrace # dtrace core 22device dtraceall # include all dtrace modules 23options KDTRACE_HOOKS 24 25# Add misc devices which are specific to various arm platforms... 26 27device generic_timer # ARM Generic Timer 28device gic # Interrupt controller 29device gpio # gpio interface and bus 30device mpcore_timer # ARM MPCore Timer 31device pl310 # PL310 L2 cache controller 32device pl330 # ARM PL330 dma controller 33device pmu # PMU support (for CCNT). 34device twsi # i2c controller on Marvel and Allwinner 35device xdma # xDMA framework for SoC on-chip dma controllers 36 37# Add pseudo devices... 38 39device clk 40device phy 41device hwreset 42device nvmem 43device regulator 44device syscon 45 46# Backlight subsystem 47device backlight 48 49# Undo options from sys/conf/NOTES that we do not want... 50 51nooptions COMPAT_FREEBSD4 52nooptions COMPAT_FREEBSD5 53nooptions COMPAT_FREEBSD6 54nooptions COMPAT_FREEBSD7 55nooptions COMPAT_FREEBSD9 56nooptions PPC_PROBE_CHIPSET 57nooptions MAXCPU # value is set in machine/param.h 58 59nodevice sym 60 61nodevice ccr 62nodevice cxgbe 63nodevice cxgbev 64nodevice snd_cmi 65 66nodevice mpr 67nodevice mps 68 69# Build SOC-specific modules... 70 71makeoptions MODULES_EXTRA+="allwinner" 72makeoptions MODULES_EXTRA+="arm_ti" 73makeoptions MODULES_EXTRA+="imx" 74 75# Build dtb files... 76 77makeoptions MODULES_EXTRA+="dtb/allwinner" 78makeoptions MODULES_EXTRA+="dtb/am335x" 79makeoptions MODULES_EXTRA+="dtb/imx6" 80makeoptions MODULES_EXTRA+="dtb/nvidia" 81makeoptions MODULES_EXTRA+="dtb/omap4" 82makeoptions MODULES_EXTRA+="dtb/rpi" 83makeoptions MODULES_EXTRA+="dtb/zynq" 84