KIrkwood: Sheevaplug: kwimage configuration
[u-boot-kw.git] / include / addr_map.h
blobd55f5f64e10d0123982ed7fe9fad0889451ce5cd
1 #ifndef __ADDR_MAP_H
2 #define __ADDR_MAP_H
4 /*
5 * Copyright 2008 Freescale Semiconductor, Inc.
7 * This program is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU General Public License
9 * Version 2 as published by the Free Software Foundation.
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
19 * MA 02111-1307 USA
22 #include <asm/types.h>
24 extern phys_addr_t addrmap_virt_to_phys(void *vaddr);
25 extern unsigned long addrmap_phys_to_virt(phys_addr_t paddr);
26 extern void addrmap_set_entry(unsigned long vaddr, phys_addr_t paddr,
27 phys_size_t size, int idx);
29 #endif