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