revert r1.35
authordlg <dlg@openbsd.org>
Wed, 21 Feb 2024 04:26:45 +0000 (04:26 +0000)
committerdlg <dlg@openbsd.org>
Wed, 21 Feb 2024 04:26:45 +0000 (04:26 +0000)
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

index 1141cd2..35b5405 100644 (file)
@@ -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 <patrick@blueri.se>
@@ -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, &reg))
                                continue;
                        if (reg.size == 0)