xref: /freebsd/sys/arm/conf/NOTES (revision 5bb3134a8c21cb87b30e135ef168483f0333dabb)
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 EXT_RESOURCES pseudo devices...
38
39options 	EXT_RESOURCES
40device		clk
41device		phy
42device		hwreset
43device		nvmem
44device		regulator
45device		syscon
46
47# Backlight subsystem
48device		backlight
49
50# Undo options from sys/conf/NOTES that we do not want...
51
52nooptions	COMPAT_FREEBSD4
53nooptions	COMPAT_FREEBSD5
54nooptions	COMPAT_FREEBSD6
55nooptions	COMPAT_FREEBSD7
56nooptions	COMPAT_FREEBSD9
57nooptions	PPC_PROBE_CHIPSET
58nooptions	MAXCPU		# value is set in machine/param.h
59
60nodevice	sym
61
62nodevice	ccr
63nodevice	cxgbe
64nodevice	cxgbev
65nodevice	snd_cmi
66
67nodevice	mpr
68nodevice	mps
69
70# Build SOC-specific modules...
71
72makeoptions	MODULES_EXTRA+="allwinner"
73makeoptions	MODULES_EXTRA+="arm_ti"
74makeoptions	MODULES_EXTRA+="imx"
75
76# Build dtb files...
77
78makeoptions	MODULES_EXTRA+="dtb/allwinner"
79makeoptions	MODULES_EXTRA+="dtb/am335x"
80makeoptions	MODULES_EXTRA+="dtb/imx6"
81makeoptions	MODULES_EXTRA+="dtb/nvidia"
82makeoptions	MODULES_EXTRA+="dtb/omap4"
83makeoptions	MODULES_EXTRA+="dtb/rpi"
84makeoptions	MODULES_EXTRA+="dtb/zynq"
85