summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorjakllsch <jakllsch@NetBSD.org>2023-07-03 17:05:10 +0000
committerjakllsch <jakllsch@NetBSD.org>2023-07-03 17:05:10 +0000
commitd9c60d43e3de0cdaeeb69b1023f4d41ed1e698bc (patch)
treeeabe3589c64259d1bbea5edf35d9c9ff22cd2be1 /sys
parentbbfea7f8a8f76ed528dfa1077b3d86cfe6942d6c (diff)
Enable MEMORY_DISK_DYNAMIC & co. to match std.generic64
Allows loading of ramdisk.fs via u-boot initrd (to run sysinst)
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/evbarm/conf/std.generic7
1 files changed, 6 insertions, 1 deletions
diff --git a/sys/arch/evbarm/conf/std.generic b/sys/arch/evbarm/conf/std.generic
index 3e17fc24b52..821d4d30857 100644
--- a/sys/arch/evbarm/conf/std.generic
+++ b/sys/arch/evbarm/conf/std.generic
@@ -1,4 +1,4 @@
-# $NetBSD: std.generic,v 1.10 2021/09/03 21:58:36 andvar Exp $
+# $NetBSD: std.generic,v 1.11 2023/07/03 17:05:10 jakllsch Exp $
#
# generic NetBSD/evbarm with FDT support
@@ -34,6 +34,11 @@ options __HAVE_PCI_MSI_MSIX
makeoptions BOARDMKFRAG="${THISARM}/conf/mk.generic"
+# initrd support
+options MEMORY_DISK_HOOKS
+options MEMORY_DISK_DYNAMIC
+pseudo-device md
+
# Prevent the addition of a command line -DKERNEL_BASE_VOFFSET= as it
# is done at runtime.
makeoptions KERNEL_VOFFSET_RUNTIME=1