18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0-only */
28c2ecf20Sopenharmony_ci/*
38c2ecf20Sopenharmony_ci * Copyright (C) 2012 ARM Ltd.
48c2ecf20Sopenharmony_ci */
58c2ecf20Sopenharmony_ci#ifndef __ASM_SPARSEMEM_H
68c2ecf20Sopenharmony_ci#define __ASM_SPARSEMEM_H
78c2ecf20Sopenharmony_ci
88c2ecf20Sopenharmony_ci#ifdef CONFIG_SPARSEMEM
98c2ecf20Sopenharmony_ci#define MAX_PHYSMEM_BITS	CONFIG_ARM64_PA_BITS
108c2ecf20Sopenharmony_ci#define SECTION_SIZE_BITS	30
118c2ecf20Sopenharmony_ci#endif
128c2ecf20Sopenharmony_ci
138c2ecf20Sopenharmony_ci#endif
14