xref: /linux/arch/riscv/include/asm/crash_reserve.h (revision 2697b79a469b68e3ad3640f55284359c1396278d)
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 #ifndef _RISCV_CRASH_RESERVE_H
3 #define _RISCV_CRASH_RESERVE_H
4 
5 #define CRASH_ALIGN			PMD_SIZE
6 
7 #define CRASH_ADDR_LOW_MAX		dma32_phys_limit
8 #define CRASH_ADDR_HIGH_MAX		memblock_end_of_DRAM()
9 
10 extern phys_addr_t memblock_end_of_DRAM(void);
11 #endif
12