1 |
/* |
/* |
2 |
* Copyright (C) 2005-2006 Anders Gavare. All rights reserved. |
* Copyright (C) 2005-2007 Anders Gavare. All rights reserved. |
3 |
* |
* |
4 |
* Redistribution and use in source and binary forms, with or without |
* Redistribution and use in source and binary forms, with or without |
5 |
* modification, are permitted provided that the following conditions are met: |
* modification, are permitted provided that the following conditions are met: |
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.6 2006/12/30 13:31:02 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 |
|
|