xref: /freebsd/sys/arm/conf/NOTES (revision 2ff63af9b88c7413b7d71715b5532625752a248e)
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 	LINUX_BOOT_ABI		# Process metadata passed from U-Boot
15options 	PLATFORM		# Include platform_if support
16options 	SMP			# Nearly all v7 SoCs are multicore
17options 	VFP			# Enable floating point hardware support
18
19# NOTE: dtrace introduces CDDL-licensed components into the kernel
20device		dtrace			# dtrace core
21device		dtraceall		# include all dtrace modules
22options 	KDTRACE_HOOKS
23
24# Add misc devices which are specific to various arm platforms...
25
26device		generic_timer   # ARM Generic Timer
27device		gic		# Interrupt controller
28device		gpio		# gpio interface and bus
29device		mpcore_timer	# ARM MPCore Timer
30device		pl310		# PL310 L2 cache controller
31device		pl330		# ARM PL330 dma controller
32device		pmu		# PMU support (for CCNT).
33device		twsi		# i2c controller on Marvel and Allwinner
34device		xdma		# xDMA framework for SoC on-chip dma controllers
35
36# PCI/PCIE
37device		pci
38device		pci_host_generic
39
40# Annapurna Alpine drivers
41device		al_ccu			# Alpine Cache Coherency Unit
42device		al_nb_service		# Alpine North Bridge Service
43device		al_iofic		# I/O Fabric Interrupt Controller
44device		al_serdes		# Serializer/Deserializer
45device		al_udma			# Universal DMA
46device		al_pci			# Annapurna Alpine PCI-E
47
48# Add pseudo devices...
49
50device		clk
51device		phy
52device		hwreset
53device		nvmem
54device		regulator
55device		syscon
56
57# Backlight subsystem
58device		backlight
59
60# Undo options from sys/conf/NOTES that we do not want...
61
62nooptions	COMPAT_FREEBSD4
63nooptions	COMPAT_FREEBSD5
64nooptions	COMPAT_FREEBSD6
65nooptions	COMPAT_FREEBSD7
66nooptions	COMPAT_FREEBSD9
67nooptions	PPC_PROBE_CHIPSET
68nooptions	MAXCPU		# value is set in machine/param.h
69
70nodevice	sym
71
72nodevice	ccr
73nodevice	cxgbe
74nodevice	cxgbev
75nodevice	snd_cmi
76
77nodevice	mpr
78nodevice	mps
79
80# Build SOC-specific modules...
81
82makeoptions	MODULES_EXTRA+="allwinner"
83makeoptions	MODULES_EXTRA+="arm_ti"
84makeoptions	MODULES_EXTRA+="imx"
85
86# Build dtb files...
87
88makeoptions	MODULES_EXTRA+="dtb/allwinner"
89makeoptions	MODULES_EXTRA+="dtb/am335x"
90makeoptions	MODULES_EXTRA+="dtb/imx6"
91makeoptions	MODULES_EXTRA+="dtb/nvidia"
92makeoptions	MODULES_EXTRA+="dtb/omap4"
93makeoptions	MODULES_EXTRA+="dtb/rpi"
94makeoptions	MODULES_EXTRA+="dtb/zynq"
95