]> git.ipfire.org Git - people/ms/u-boot.git/blame - include/addr_map.h
arm: mvebu: Move CONFIG_SYS_TEXT_BASE to an address < 16 MiB
[people/ms/u-boot.git] / include / addr_map.h
CommitLineData
63240ba8
KG
1#ifndef __ADDR_MAP_H
2#define __ADDR_MAP_H
3
4/*
5 * Copyright 2008 Freescale Semiconductor, Inc.
6 *
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.
10 *
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.
15 *
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
20 */
21
22#include <asm/types.h>
23
24extern phys_addr_t addrmap_virt_to_phys(void *vaddr);
7b6e8053 25extern void *addrmap_phys_to_virt(phys_addr_t paddr);
63240ba8
KG
26extern void addrmap_set_entry(unsigned long vaddr, phys_addr_t paddr,
27 phys_size_t size, int idx);
28
29#endif