]>
git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/blob - arch/csky/include/asm/io.h
1 /* SPDX-License-Identifier: GPL-2.0 */
2 // Copyright (C) 2018 Hangzhou C-SKY Microsystems co.,ltd.
4 #ifndef __ASM_CSKY_IO_H
5 #define __ASM_CSKY_IO_H
7 #include <abi/pgtable-bits.h>
8 #include <linux/types.h>
9 #include <linux/version.h>
11 extern void __iomem
*ioremap(phys_addr_t offset
, size_t size
);
13 extern void iounmap(void *addr
);
15 extern int remap_area_pages(unsigned long address
, phys_addr_t phys_addr
,
16 size_t size
, unsigned long flags
);
18 #define ioremap_nocache(phy, sz) ioremap(phy, sz)
19 #define ioremap_wc ioremap_nocache
20 #define ioremap_wt ioremap_nocache
22 #include <asm-generic/io.h>
24 #endif /* __ASM_CSKY_IO_H */