xref: /freebsd/sys/arm/conf/NOTES (revision f374ba41)
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# Add pseudo devices...
37
38device		clk
39device		phy
40device		hwreset
41device		nvmem
42device		regulator
43device		syscon
44
45# Backlight subsystem
46device		backlight
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