xref: /netbsd-src/sys/arch/evbarm/conf/std.generic (revision 53d1339bf7f9c7367b35a9e1ebe693f9b047a47b)
1#	$NetBSD: std.generic,v 1.9 2021/03/21 09:00:55 skrll 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 opions
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# Prevent the addition of a command line -DKERNEL_BASE_VOFFSET= as it
38# is done at runtime.
39makeoptions	KERNEL_VOFFSET_RUNTIME=1
40
41# The physical address is chosen by u-boot and determined by armv6_start.S.
42# The 64 byte offset is due to u-boot header.
43makeoptions	KERNEL_BASE_PHYS="0x00000040"
44makeoptions	KERNEL_BASE_VIRT="0x80000040"
45
46# General options
47options 	CHILD_MAX=1024	# 160 is too few
48options 	OPEN_MAX=1024	# 128 is too few
49