summaryrefslogtreecommitdiffstats
path: root/arch/riscv/include/asm/crash_reserve.h
blob: 013962e63587f3a06e53a508dade442b7f64e4ce (plain)
1
2
3
4
5
6
7
8
9
10
11
/* SPDX-License-Identifier: GPL-2.0-only */
#ifndef _RISCV_CRASH_RESERVE_H
#define _RISCV_CRASH_RESERVE_H

#define CRASH_ALIGN			PMD_SIZE

#define CRASH_ADDR_LOW_MAX		dma32_phys_limit
#define CRASH_ADDR_HIGH_MAX		memblock_end_of_DRAM()

extern phys_addr_t memblock_end_of_DRAM(void);
#endif