1#	$NetBSD: std.generic,v 1.11 2023/07/03 17:05:10 jakllsch Exp $
2#
3# 	generic NetBSD/evbarm with FDT support
4
5machine		evbarm arm
6include		"conf/std"
7include		"arch/arm/conf/std.arm"		# arch standard options
8
9options 	EXEC_ELF32
10options 	EXEC_SCRIPT
11
12# Architecture options
13options 	ARM32
14
15options 	ARM_GENERIC_TODR
16options 	ARM_HAS_VBAR
17options 	ARM_INTR_IMPL="<arch/arm/fdt/fdt_intr.h>"
18options 	DRAM_BLOCKS=256
19options 	EVBARM_BOARDTYPE="evbarm"
20options 	FDT				# Flattened Device Tree support
21options 	FPU_VFP
22options 	MODULAR
23options 	MODULAR_DEFAULT_AUTOLOAD
24options 	PCI_NETBSD_CONFIGURE
25options 	TPIDRPRW_IS_CURLWP
26options 	__BUS_SPACE_HAS_STREAM_METHODS
27options 	__HAVE_CPU_COUNTER
28options 	__HAVE_CPU_UAREA_ALLOC_IDLELWP
29options 	__HAVE_FAST_SOFTINTS		# should be in types.h
30options 	__HAVE_GENERIC_START
31options 	__HAVE_GENERIC_CPU_INITCLOCKS
32options 	__HAVE_PCI_CONF_HOOK
33options 	__HAVE_PCI_MSI_MSIX
34
35makeoptions	BOARDMKFRAG="${THISARM}/conf/mk.generic"
36
37# initrd support
38options 	MEMORY_DISK_HOOKS
39options 	MEMORY_DISK_DYNAMIC
40pseudo-device 	md
41
42# Prevent the addition of a command line -DKERNEL_BASE_VOFFSET= as it
43# is done at runtime.
44makeoptions	KERNEL_VOFFSET_RUNTIME=1
45
46# The physical address is chosen by u-boot and determined by armv6_start.S.
47# The 64 byte offset is due to u-boot header.
48makeoptions	KERNEL_BASE_PHYS="0x00000040"
49makeoptions	KERNEL_BASE_VIRT="0x80000040"
50
51# General options
52options 	CHILD_MAX=1024	# 160 is too few
53options 	OPEN_MAX=1024	# 128 is too few
54