ARM: Add RTC to PBX System

This commit is contained in:
Koan-Sin Tan
2012-03-21 10:34:05 -05:00
parent 565c1de4a8
commit 0376422c0b

View File

@@ -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