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