blob: 63b24cded01a0dd2ec56807e08eca840c6c46801 [file] [log] [blame]
Kumar Gala63240ba2008-12-13 17:20:28 -06001#ifndef __ADDR_MAP_H
2#define __ADDR_MAP_H
3
4/*
5 * Copyright 2008 Freescale Semiconductor, Inc.
6 *
Tom Rini5b8031c2016-01-14 22:05:13 -05007 * SPDX-License-Identifier: GPL-2.0
Kumar Gala63240ba2008-12-13 17:20:28 -06008 */
9
10#include <asm/types.h>
11
12extern phys_addr_t addrmap_virt_to_phys(void *vaddr);
Timur Tabi7b6e8052012-05-04 12:21:30 +000013extern void *addrmap_phys_to_virt(phys_addr_t paddr);
Kumar Gala63240ba2008-12-13 17:20:28 -060014extern void addrmap_set_entry(unsigned long vaddr, phys_addr_t paddr,
15 phys_size_t size, int idx);
16
17#endif