25 |
* SUCH DAMAGE. |
* SUCH DAMAGE. |
26 |
* |
* |
27 |
* |
* |
28 |
* $Id: machine_zaurus.c,v 1.4 2006/06/24 10:19:19 debug Exp $ |
* $Id: machine_zaurus.c,v 1.5 2006/07/24 21:14:52 debug Exp $ |
29 |
*/ |
*/ |
30 |
|
|
31 |
#include <stdio.h> |
#include <stdio.h> |
52 |
device_add(machine, "ns16550 irq=0 addr=0x40100000 addr_mult=4"); |
device_add(machine, "ns16550 irq=0 addr=0x40100000 addr_mult=4"); |
53 |
device_add(machine, "ns16550 irq=0 addr=0xfd400000 addr_mult=4"); |
device_add(machine, "ns16550 irq=0 addr=0xfd400000 addr_mult=4"); |
54 |
|
|
55 |
|
|
56 |
|
dev_fb_init(machine, machine->memory, 0x44000000, |
57 |
|
VFB_GENERIC, 640,240, 640,240, 16, "PXA2X0 LCD"); |
58 |
|
|
59 |
|
|
60 |
if (!machine->prom_emulation) |
if (!machine->prom_emulation) |
61 |
return; |
return; |
62 |
|
|
63 |
/* TODO */ |
/* TODO: Registers, etc. */ |
64 |
|
|
65 |
arm_setup_initial_translation_table(cpu, 0x4000); |
arm_setup_initial_translation_table(cpu, 0x4000); |
66 |
} |
} |
67 |
|
|
68 |
|
|
69 |
MACHINE_DEFAULT_CPU(zaurus) |
MACHINE_DEFAULT_CPU(zaurus) |
70 |
{ |
{ |
71 |
machine->cpu_name = strdup("PXA210"); |
machine->cpu_name = strdup("PXA27X"); |
72 |
} |
} |
73 |
|
|
74 |
|
|