The devicetree standard allows for multiple /memory nodes, each with
authorkettenis <kettenis@openbsd.org>
Tue, 26 Mar 2024 22:46:48 +0000 (22:46 +0000)
committerkettenis <kettenis@openbsd.org>
Tue, 26 Mar 2024 22:46:48 +0000 (22:46 +0000)
commit462472fca546860e3db834bfe7de0510331f75c3
tree3b23d33b967624c4dc86e6cf39c0f71abb043a1c
parent02525e39262254f5e187b4d7495a53b58f7a451d
The devicetree standard allows for multiple /memory nodes, each with
multiple memory ranges.  We support the latter, but not the former.
Fix this, such that we detect all the memory on the Milk-V Pioneer
board.

ok miod@
sys/arch/riscv64/riscv64/machdep.c