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