sunxi: power: add AXP809 support
[platform/kernel/u-boot.git] / include / addr_map.h
1 #ifndef __ADDR_MAP_H
2 #define __ADDR_MAP_H
3
4 /*
5  * Copyright 2008 Freescale Semiconductor, Inc.
6  *
7  * SPDX-License-Identifier:     GPL-2.0
8  */
9
10 #include <asm/types.h>
11
12 extern phys_addr_t addrmap_virt_to_phys(void *vaddr);
13 extern void *addrmap_phys_to_virt(phys_addr_t paddr);
14 extern void addrmap_set_entry(unsigned long vaddr, phys_addr_t paddr,
15                                 phys_size_t size, int idx);
16
17 #endif