1# $NetBSD $
2#
3# GENERIC ARMv5 kernel
4#
5
6include	"arch/evbarm/conf/std.generic_v5"
7include "arch/evbarm/conf/files.generic_v5"
8include	"arch/evbarm/conf/GENERIC.common"
9
10options 	CPU_ARM9E
11
12options 	SOC_IMX23
13
14#options 	DIAGNOSTIC	# internal consistency checks
15#options 	DEBUG
16#options 	LOCKDEBUG
17#options 	UVMHIST		# kernhist for uvm/pmap subsystems
18
19# Heartbeat checks
20options 	HEARTBEAT
21options 	HEARTBEAT_MAX_PERIOD_DEFAULT=15
22
23options 	MSGBUFSIZE=32768
24
25#options 	VERBOSE_INIT_ARM # verbose bootstrapping messages
26
27# EARLYCONS is required for early init messages from VERBOSE_INIT_ARM.
28#options 	EARLYCONS=imx23, CONSADDR=0x80070000
29
30# Kernel Undefined Behavior Sanitizer (kUBSan). Use UBSAN_ALWAYS_FATAL
31# if you want panics instead of warnings.
32#options 	KUBSAN			# mandatory
33#options 	UBSAN_ALWAYS_FATAL	# optional
34
35# Kernel Address Sanitizer (kASan). The quarantine is optional and can
36# help KASAN find more use-after-frees. Use KASAN_PANIC if you want panics
37# instead of warnings.
38#makeoptions 	KASAN=1		# mandatory
39#options 	KASAN		# mandatory
40#options 	POOL_QUARANTINE	# optional
41#options 	KASAN_PANIC	# optional
42
43makeoptions 	DEBUG="-g"	# compile full symbol table
44makeoptions 	COPY_SYMTAB=1
45
46config		netbsd		root on ? type ?
47
48# Device tree support
49armfdt0		at root
50simplebus*	at fdt? pass 0
51
52# CPUs
53cpus*		at fdt? pass 0
54cpu*		at fdt? pass 0
55
56# interrupt handlers
57imx23icoll* 		at fdt? pass 1	# imx23 interrupt driver
58
59# Timers
60imx23timrot* 		at fdt? pass 2		# imx23 timer
61
62# general FDT devices
63fclock* 	at fdt? pass 1
64ffclock* 	at fdt? pass 1
65fregulator* 	at fdt? pass 5
66gregulator* 	at fdt? pass 4
67gpiokeys* 	at fdt?
68wskbd* 		at gpiokeys? console ? mux 1
69gpioleds* 	at fdt?
70
71# Performance monitors
72pseudo-device 	tprof
73
74# UART
75com* 		at fdt?	pass 4		# UART
76plcom* 		at fdt?	pass 4		# ARM PL011 UART
77
78# Audio
79audio* 		at audiobus?
80
81# Pull in optional local configuration - always at end
82cinclude	"arch/evbarm/conf/GENERIC_V5.local"
83