xref: /freebsd/sys/arm/conf/NOTES (revision 8aac90f18aef7c9eea906c3ff9a001ca7b94f375)
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# Serial (COM) ports
60device		pl011
61
62# Early printf using the pl011 uart under the Arm FVP
63options 	SOCDEV_PA=0x1c090000
64options 	SOCDEV_VA=0x1c090000
65options 	EARLY_PRINTF=pl011
66
67# Undo options from sys/conf/NOTES that we do not want...
68
69nooptions	COMPAT_FREEBSD4
70nooptions	COMPAT_FREEBSD5
71nooptions	COMPAT_FREEBSD6
72nooptions	COMPAT_FREEBSD7
73nooptions	COMPAT_FREEBSD9
74nooptions	PPC_PROBE_CHIPSET
75nooptions	MAXCPU		# value is set in machine/param.h
76
77nooptions 	OFED
78nooptions 	SDP
79nooptions 	IPOIB
80nooptions 	IPOIB_CM
81
82nodevice	iser
83nodevice	sym
84
85nodevice	ccr
86nodevice	cxgbe
87nodevice	cxgbev
88nodevice	snd_cmi
89
90nodevice	mpr
91nodevice	mps
92
93# Build SOC-specific modules...
94
95makeoptions	MODULES_EXTRA+="allwinner"
96makeoptions	MODULES_EXTRA+="imx"
97
98# Build dtb files...
99
100makeoptions	MODULES_EXTRA+="dtb/allwinner"
101makeoptions	MODULES_EXTRA+="dtb/imx6"
102makeoptions	MODULES_EXTRA+="dtb/nvidia"
103makeoptions	MODULES_EXTRA+="dtb/rpi"
104makeoptions	MODULES_EXTRA+="dtb/zynq"
105