summaryrefslogtreecommitdiff
path: root/src/dev
diff options
context:
space:
mode:
authorKoan-Sin Tan <koansin.tan@gmail.com>2012-03-21 10:34:05 -0500
committerKoan-Sin Tan <koansin.tan@gmail.com>2012-03-21 10:34:05 -0500
commit0376422c0b059c941ffeea07252ae53a3ab6baa6 (patch)
treea86eb26617bc428799f692d369d7cb1c3a30c0b0 /src/dev
parent565c1de4a8a139b0bc9e7810635f8cb468b504ed (diff)
downloadgem5-0376422c0b059c941ffeea07252ae53a3ab6baa6.tar.xz
ARM: Add RTC to PBX System
Diffstat (limited to 'src/dev')
-rw-r--r--src/dev/arm/RealView.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dev/arm/RealView.py b/src/dev/arm/RealView.py
index 8ce9bff71..4753bf5bf 100644
--- a/src/dev/arm/RealView.py
+++ b/src/dev/arm/RealView.py
@@ -190,7 +190,7 @@ class RealViewPBX(RealView):
sci_fake = AmbaFake(pio_addr=0x1000e000)
aaci_fake = AmbaFake(pio_addr=0x10004000)
mmc_fake = AmbaFake(pio_addr=0x10005000)
- rtc_fake = AmbaFake(pio_addr=0x10017000, amba_id=0x41031)
+ rtc = PL031(pio_addr=0x10017000, int_num=42)
# Attach I/O devices that are on chip and also set the appropriate
@@ -237,7 +237,7 @@ class RealViewPBX(RealView):
self.sci_fake.pio = bus.master
self.aaci_fake.pio = bus.master
self.mmc_fake.pio = bus.master
- self.rtc_fake.pio = bus.master
+ self.rtc.pio = bus.master
self.flash_fake.pio = bus.master
# Reference for memory map and interrupt number