Linux Kernel
3.7.1
Main Page
Related Pages
Modules
Namespaces
Data Structures
Files
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Groups
Pages
arch
arm
plat-iop
setup.c
Go to the documentation of this file.
1
/*
2
* arch/arm/plat-iop/setup.c
3
*
4
* Author: Nicolas Pitre <
[email protected]
>
5
* Copyright (C) 2001 MontaVista Software, Inc.
6
* Copyright (C) 2004 Intel Corporation.
7
*
8
* This program is free software; you can redistribute it and/or modify
9
* it under the terms of the GNU General Public License version 2 as
10
* published by the Free Software Foundation.
11
*/
12
13
#include <
linux/mm.h
>
14
#include <
linux/init.h
>
15
#include <
asm/mach/map.h
>
16
#include <
asm/hardware/iop3xx.h
>
17
18
/*
19
* Standard IO mapping for all IOP3xx based systems. Note that
20
* the IOP3xx OCCDR must be mapped uncached and unbuffered.
21
*/
22
static
struct
map_desc
iop3xx_std_desc[]
__initdata
= {
23
{
/* mem mapped registers */
24
.virtual =
IOP3XX_PERIPHERAL_VIRT_BASE
,
25
.pfn =
__phys_to_pfn
(
IOP3XX_PERIPHERAL_PHYS_BASE
),
26
.length =
IOP3XX_PERIPHERAL_SIZE
,
27
.type =
MT_UNCACHED
,
28
},
29
};
30
31
void
__init
iop3xx_map_io
(
void
)
32
{
33
iotable_init
(iop3xx_std_desc,
ARRAY_SIZE
(iop3xx_std_desc));
34
}
Generated on Thu Jan 10 2013 12:52:40 for Linux Kernel by
1.8.2