PageRenderTime 18ms CodeModel.GetById 12ms app.highlight 2ms RepoModel.GetById 2ms app.codeStats 0ms

/arch/arm/mach-iop33x/include/mach/hardware.h

https://github.com/AICP/kernel_google_msm
C Header | 43 lines | 12 code | 10 blank | 21 comment | 0 complexity | 5415097278492a2e5d37fd92664ac213 MD5 | raw file
 1/*
 2 * arch/arm/mach-iop33x/include/mach/hardware.h
 3 */
 4
 5#ifndef __HARDWARE_H
 6#define __HARDWARE_H
 7
 8#include <asm/types.h>
 9
10/*
11 * Note about PCI IO space mappings
12 *
13 * To make IO space accesses efficient, we store virtual addresses in
14 * the IO resources.
15 *
16 * The PCI IO space is located at virtual 0xfe000000 from physical
17 * 0x90000000.  The PCI BARs must be programmed with physical addresses,
18 * but when we read them, we convert them to virtual addresses.  See
19 * arch/arm/mach-iop3xx/iop3xx-pci.c
20 */
21
22#ifndef __ASSEMBLY__
23void iop33x_init_irq(void);
24
25extern struct platform_device iop33x_uart0_device;
26extern struct platform_device iop33x_uart1_device;
27#endif
28
29
30/*
31 * Generic chipset bits
32 *
33 */
34#include "iop33x.h"
35
36/*
37 * Board specific bits
38 */
39#include "iq80331.h"
40#include "iq80332.h"
41
42
43#endif