viafb: removed duplicated #include's
[linux-2.6/mini2440.git] / arch / arm / mach-pxa / eseries.c
blobd28849b50a142f7a9bce40994c92e050d50fd34c
1 /*
2 * Hardware definitions for the Toshiba eseries PDAs
4 * Copyright (c) 2003 Ian Molton <spyro@f2s.com>
6 * This file is licensed under
7 * the terms of the GNU General Public License version 2. This program
8 * is licensed "as is" without any warranty of any kind, whether express
9 * or implied.
13 #include <linux/kernel.h>
14 #include <linux/init.h>
16 #include <asm/setup.h>
17 #include <asm/mach/arch.h>
18 #include <asm/mach-types.h>
20 #include <mach/mfp-pxa25x.h>
21 #include <mach/hardware.h>
22 #include <mach/eseries-gpio.h>
23 #include <mach/udc.h>
25 #include "generic.h"
27 /* Only e800 has 128MB RAM */
28 void __init eseries_fixup(struct machine_desc *desc,
29 struct tag *tags, char **cmdline, struct meminfo *mi)
31 mi->nr_banks=1;
32 mi->bank[0].start = 0xa0000000;
33 mi->bank[0].node = 0;
34 if (machine_is_e800())
35 mi->bank[0].size = (128*1024*1024);
36 else
37 mi->bank[0].size = (64*1024*1024);
40 struct pxa2xx_udc_mach_info e7xx_udc_mach_info = {
41 .gpio_vbus = GPIO_E7XX_USB_DISC,
42 .gpio_pullup = GPIO_E7XX_USB_PULLUP,
43 .gpio_pullup_inverted = 1