blob: 978f6443407883c4da034f60ed1b8c37f62aec4c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
/* SPDX-License-Identifier: GPL-2.0-only */
#ifndef __ASM_RISCV_IO_H
#define __ASM_RISCV_IO_H
#define IO_SPACE_LIMIT 0
#include <asm-generic/io.h>
static inline void *phys_to_virt(unsigned long phys)
{
return (void *)phys;
}
static inline unsigned long virt_to_phys(volatile void *mem)
{
return (unsigned long)mem;
}
#endif /* __ASM_RISCV_IO_H */
|