blob: 1872faa11a27604a41f73f047829fabfc0b54784 [file] [log] [blame]
Ian Molton3abcd192007-11-19 13:16:56 +01001/*
2 * Hardware definitions for the Toshiba eseries PDAs
3 *
4 * Copyright (c) 2003 Ian Molton <spyro@f2s.com>
5 *
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.
10 *
11 */
12
Ian Molton28365482008-08-09 21:48:45 +010013#include <linux/kernel.h>
Ian Molton3abcd192007-11-19 13:16:56 +010014#include <linux/init.h>
15
16#include <asm/setup.h>
17#include <asm/mach/arch.h>
Ian Molton3abcd192007-11-19 13:16:56 +010018#include <asm/mach-types.h>
19
Ian Molton28365482008-08-09 21:48:45 +010020#include <mach/mfp-pxa25x.h>
21#include <mach/hardware.h>
22
Ian Molton877e03d2008-06-25 22:22:49 +010023#include "generic.h"
Ian Molton3abcd192007-11-19 13:16:56 +010024
25/* Only e800 has 128MB RAM */
Ian Molton7dc96412008-08-19 12:14:21 +010026void __init eseries_fixup(struct machine_desc *desc,
Ian Molton67a6e802008-07-26 00:51:12 +010027 struct tag *tags, char **cmdline, struct meminfo *mi)
Ian Molton3abcd192007-11-19 13:16:56 +010028{
29 mi->nr_banks=1;
30 mi->bank[0].start = 0xa0000000;
31 mi->bank[0].node = 0;
32 if (machine_is_e800())
33 mi->bank[0].size = (128*1024*1024);
34 else
35 mi->bank[0].size = (64*1024*1024);
36}
37