diff options
author | David Gwynne <dlg@cvs.openbsd.org> | 2024-02-21 04:26:46 +0000 |
---|---|---|
committer | David Gwynne <dlg@cvs.openbsd.org> | 2024-02-21 04:26:46 +0000 |
commit | fac15842c551f05f7f0979e985d508bcde044a9b (patch) | |
tree | 194b53a577f69d31ef98567d051ee49215d7b699 /sys | |
parent | a0e6b11386912da1d812b4e597ef38105c21d71f (diff) |
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.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/arch/riscv64/riscv64/machdep.c | 5 |
1 files changed, 1 insertions, 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 <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, ®)) continue; if (reg.size == 0) |