summary refs log tree commit diff stats
path: root/hw/versatilepb.c
diff options
context:
space:
mode:
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.  */