From 46164c390a59c23dacd6d898cbfc8da424ce7837 Mon Sep 17 00:00:00 2001 From: dlg Date: Wed, 21 Feb 2024 04:26:45 +0000 Subject: [PATCH] revert r1.35 i dont know what i'm doing wrong with the handling of the no-map property, but i'll find some coffee and time and figure it out soon hopefully. --- sys/arch/riscv64/riscv64/machdep.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/sys/arch/riscv64/riscv64/machdep.c b/sys/arch/riscv64/riscv64/machdep.c index 1141cd27786..35b54050e64 100644 --- a/sys/arch/riscv64/riscv64/machdep.c +++ b/sys/arch/riscv64/riscv64/machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: machdep.c,v 1.35 2024/02/21 01:45:14 dlg Exp $ */ +/* $OpenBSD: machdep.c,v 1.36 2024/02/21 04:26:45 dlg Exp $ */ /* * Copyright (c) 2014 Patrick Wildt @@ -792,9 +792,6 @@ initriscv(struct riscv_bootparams *rbp) if (node) { for (node = fdt_child_node(node); node; node = fdt_next_node(node)) { - char *no_map; - if (fdt_node_property(node, "no-map", &no_map) < 0) - continue; if (fdt_get_reg(node, 0, ®)) continue; if (reg.size == 0) -- 2.20.1