forked from Qortal/Brooklyn
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
263 B
12 lines
263 B
3 years ago
|
/* SPDX-License-Identifier: GPL-2.0 */
|
||
|
|
||
|
#ifndef _ASM_RISCV_SPARSEMEM_H
|
||
|
#define _ASM_RISCV_SPARSEMEM_H
|
||
|
|
||
|
#ifdef CONFIG_SPARSEMEM
|
||
|
#define MAX_PHYSMEM_BITS CONFIG_PA_BITS
|
||
|
#define SECTION_SIZE_BITS 27
|
||
|
#endif /* CONFIG_SPARSEMEM */
|
||
|
|
||
|
#endif /* _ASM_RISCV_SPARSEMEM_H */
|