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