~ubuntu-branches/ubuntu/precise/linux-lowlatency/precise

« back to all changes in this revision

Viewing changes to arch/arm/mach-pxa/include/mach/zylonite.h

  • Committer: Package Import Robot
  • Author(s): Alessio Igor Bogani
  • Date: 2011-10-26 11:13:05 UTC
  • Revision ID: package-import@ubuntu.com-20111026111305-tz023xykf0i6eosh
Tags: upstream-3.2.0
ImportĀ upstreamĀ versionĀ 3.2.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#ifndef __ASM_ARCH_ZYLONITE_H
 
2
#define __ASM_ARCH_ZYLONITE_H
 
3
 
 
4
#define ZYLONITE_ETH_PHYS       0x14000000
 
5
 
 
6
#define EXT_GPIO(x)             (128 + (x))
 
7
 
 
8
#define ZYLONITE_NR_IRQS        (IRQ_BOARD_START + 32)
 
9
 
 
10
/* the following variables are processor specific and initialized
 
11
 * by the corresponding zylonite_pxa3xx_init()
 
12
 */
 
13
extern int gpio_eth_irq;
 
14
extern int gpio_debug_led1;
 
15
extern int gpio_debug_led2;
 
16
 
 
17
extern int wm9713_irq;
 
18
 
 
19
extern int lcd_id;
 
20
extern int lcd_orientation;
 
21
 
 
22
#ifdef CONFIG_MACH_ZYLONITE300
 
23
extern void zylonite_pxa300_init(void);
 
24
#else
 
25
static inline void zylonite_pxa300_init(void)
 
26
{
 
27
        if (cpu_is_pxa300() || cpu_is_pxa310())
 
28
                panic("%s: PXA300/PXA310 not supported\n", __func__);
 
29
}
 
30
#endif
 
31
 
 
32
#ifdef CONFIG_MACH_ZYLONITE320
 
33
extern void zylonite_pxa320_init(void);
 
34
#else
 
35
static inline void zylonite_pxa320_init(void)
 
36
{
 
37
        if (cpu_is_pxa320())
 
38
                panic("%s: PXA320 not supported\n", __func__);
 
39
}
 
40
#endif
 
41
 
 
42
#endif /* __ASM_ARCH_ZYLONITE_H */