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