aboutsummaryrefslogtreecommitdiff
path: root/hw/versatilepb.c
diff options
context:
space:
mode:
authorpbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162>2007-06-30 17:32:17 +0000
committerpbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162>2007-06-30 17:32:17 +0000
commit7e1543c23b34fa590b636d26b94b7a8e8673569d (patch)
tree2aefaaff84c7a6badf248d8083b2ea74134974d6 /hw/versatilepb.c
parent64075cd76a1d78f37e4e436bd1e7d2376f6bd7c9 (diff)
ARM PL031 RTC emulation.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3037 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/versatilepb.c')
-rw-r--r--hw/versatilepb.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/hw/versatilepb.c b/hw/versatilepb.c
index 1cbd25b184..f0142adc5d 100644
--- a/hw/versatilepb.c
+++ b/hw/versatilepb.c
@@ -223,6 +223,9 @@ static void versatile_init(int ram_size, int vga_ram_size, int boot_device,
pl181_init(0x1000b000, NULL, sic, 23, 2);
#endif
+ /* Add PL031 Real Time Clock. */
+ pl031_init(0x101e8000,pic[10]);
+
/* Memory map for Versatile/PB: */
/* 0x10000000 System registers. */
/* 0x10001000 PCI controller config registers. */