5/8

riscv: build crash_mem ranges from memblock instead of resource tree

From: Wandun Chen chenwandun@lixiang.com Replace walk_system_ram_res() with for_each_mem_range(). The MEMBLOCK_NODUMP flag lives in memblock, so only by walking memblock can the reserved-memory reg