aboutsummaryrefslogtreecommitdiff
path: root/hw/sun4m.c
diff options
context:
space:
mode:
authorblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2007-12-29 09:05:30 +0000
committerblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2007-12-29 09:05:30 +0000
commit4aed2c33eb0e2c98db0d6a6ad13997651fad06bf (patch)
tree7496de0127ad2a7575e33a8d439698d566e28011 /hw/sun4m.c
parent9ed1e6671cce91cb29fc8e6c1f878b0205214b09 (diff)
M48T02 support (Robert Reif)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3872 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/sun4m.c')
-rw-r--r--hw/sun4m.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/sun4m.c b/hw/sun4m.c
index aadac3759e..6361c928a4 100644
--- a/hw/sun4m.c
+++ b/hw/sun4m.c
@@ -623,7 +623,7 @@ static void sun4c_hw_init(const struct hwdef *hwdef, int RAM_size,
}
nvram = m48t59_init(slavio_irq[0], hwdef->nvram_base, 0,
- hwdef->nvram_size, 8);
+ hwdef->nvram_size, 2);
slavio_serial_ms_kbd_init(hwdef->ms_kb_base, slavio_irq[hwdef->ms_kb_irq],
nographic);
@@ -848,7 +848,7 @@ static const struct hwdef hwdefs[] = {
.sun4c_intctl_base = 0xf5000000,
.sun4c_counter_base = 0xf3000000,
.vram_size = 0x00100000,
- .nvram_size = 0x2000, // XXX 0x800,
+ .nvram_size = 0x800,
.esp_irq = 2,
.le_irq = 3,
.clock_irq = 5,