eseries.c 839 字节
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12
/*
 * Hardware definitions for the Toshiba eseries PDAs
 *
 * Copyright (c) 2003 Ian Molton <spyro@f2s.com>
 *
 * This file is licensed under
 * the terms of the GNU General Public License version 2. This program
 * is licensed "as is" without any warranty of any kind, whether express
 * or implied.
 *
 */

I
Ian Molton 已提交
13
#include <linux/kernel.h>
14 15 16 17 18 19
#include <linux/init.h>

#include <asm/setup.h>
#include <asm/mach/arch.h>
#include <asm/mach-types.h>

I
Ian Molton 已提交
20 21 22
#include <mach/mfp-pxa25x.h>
#include <mach/hardware.h>

I
Ian Molton 已提交
23
#include "generic.h"
24 25

/* Only e800 has 128MB RAM */
26
void __init eseries_fixup(struct machine_desc *desc,
27
	struct tag *tags, char **cmdline, struct meminfo *mi)
28 29 30 31 32 33 34 35 36 37
{
	mi->nr_banks=1;
	mi->bank[0].start = 0xa0000000;
	mi->bank[0].node = 0;
	if (machine_is_e800())
		mi->bank[0].size = (128*1024*1024);
	else
		mi->bank[0].size = (64*1024*1024);
}