Deleted Added
sdiff udiff text old ( 8525:5f3fe76e7950 ) new ( 8713:2f1a3e335255 )
full compact
1# Copyright (c) 2009 ARM Limited
2# All rights reserved.
3#
4# The license below extends only to copyright in the software and shall
5# not be construed as granting a license to any other intellectual
6# property including but not limited to intellectual property relating
7# to a hardware implementation of the functionality of the software
8# licensed hereunder. You may use the software subject to the license
9# terms below provided that you ensure that this notice is replicated

--- 162 unchanged lines hidden (view full) ---

172 gpio2_fake = AmbaFake(pio_addr=0x10015000)
173 ssp_fake = AmbaFake(pio_addr=0x1000d000)
174 sci_fake = AmbaFake(pio_addr=0x1000e000)
175 aaci_fake = AmbaFake(pio_addr=0x10004000)
176 mmc_fake = AmbaFake(pio_addr=0x10005000)
177 rtc_fake = AmbaFake(pio_addr=0x10017000, amba_id=0x41031)
178
179
180 # Attach I/O devices that are on chip
181 def attachOnChipIO(self, bus):
182 self.gic.pio = bus.port
183 self.l2x0_fake.pio = bus.port
184 self.a9scu.pio = bus.port
185 self.local_cpu_timer.pio = bus.port
186
187 # Attach I/O devices to specified bus object. Can't do this
188 # earlier, since the bus object itself is typically defined at the
189 # System level.
190 def attachIO(self, bus):
191 self.uart.pio = bus.port
192 self.realview_io.pio = bus.port
193 self.timer0.pio = bus.port

--- 49 unchanged lines hidden (view full) ---

243 ssp_fake = AmbaFake(pio_addr=0x1000d000)
244 sci_fake = AmbaFake(pio_addr=0x1000e000)
245 aaci_fake = AmbaFake(pio_addr=0x10004000)
246 mmc_fake = AmbaFake(pio_addr=0x10005000)
247 rtc_fake = AmbaFake(pio_addr=0x10017000, amba_id=0x41031)
248
249
250
251 # Attach I/O devices that are on chip
252 def attachOnChipIO(self, bus):
253 self.gic.pio = bus.port
254 self.l2x0_fake.pio = bus.port
255
256 # Attach I/O devices to specified bus object. Can't do this
257 # earlier, since the bus object itself is typically defined at the
258 # System level.
259 def attachIO(self, bus):
260 self.uart.pio = bus.port
261 self.realview_io.pio = bus.port
262 self.timer0.pio = bus.port

--- 61 unchanged lines hidden (view full) ---

324 elba_aaci_fake = AmbaFake(pio_addr=0xE0004000)
325 mmc_fake = AmbaFake(pio_addr=0xE0005000) # not sure if we need this
326 rtc_fake = AmbaFake(pio_addr=0xE0017000, amba_id=0x41031)
327 spsc_fake = IsaFake(pio_addr=0xE001B000, pio_size=0x2000)
328 lan_fake = IsaFake(pio_addr=0xFA000000, pio_size=0xffff)
329 usb_fake = IsaFake(pio_addr=0xFB000000, pio_size=0x1ffff)
330
331
332 # Attach I/O devices that are on chip
333 def attachOnChipIO(self, bus):
334 self.gic.pio = bus.port
335 self.a9scu.pio = bus.port
336
337 # Attach I/O devices to specified bus object. Can't do this
338 # earlier, since the bus object itself is typically defined at the
339 # System level.
340 def attachIO(self, bus):
341 self.elba_uart.pio = bus.port
342 self.uart.pio = bus.port
343 self.realview_io.pio = bus.port

--- 32 unchanged lines hidden ---