diff options
author | Nikos Nikoleris <nikos.nikoleris@arm.com> | 2018-06-04 17:50:46 +0100 |
---|---|---|
committer | Nikos Nikoleris <nikos.nikoleris@arm.com> | 2018-06-15 10:51:28 +0000 |
commit | 71c6a68a2f363de3b50ec15151e5d78605666292 (patch) | |
tree | 07013f950da0bbaf0b487ccdeddacaf0b4f7b510 /src/dev/i2c | |
parent | e502572ce4c30a74ea1847e123c886f984dee311 (diff) | |
download | gem5-71c6a68a2f363de3b50ec15151e5d78605666292.tar.xz |
dev-arm: Fix the address range for some I/O devices
Previously, many devices were incorrecty configured to respond to an
address range of size 0xfff. This changes fixes this and sets it to
0x1000.
Change-Id: I4b027a27adf60ceae4859e287d7f34443b398752
Reviewed-by: Giacomo Travaglini <giacomo.travaglini@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/11116
Reviewed-by: Jason Lowe-Power <jason@lowepower.com>
Maintainer: Andreas Sandberg <andreas.sandberg@arm.com>
Diffstat (limited to 'src/dev/i2c')
-rw-r--r-- | src/dev/i2c/bus.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dev/i2c/bus.cc b/src/dev/i2c/bus.cc index af5d6c825..bf8cb8701 100644 --- a/src/dev/i2c/bus.cc +++ b/src/dev/i2c/bus.cc @@ -53,7 +53,7 @@ using std::map; * http://infocenter.arm.com/help/topic/com.arm.doc.dui0440b/Bbajihec.html */ I2CBus::I2CBus(const I2CBusParams *p) - : BasicPioDevice(p, 0xfff), scl(1), sda(1), state(IDLE), currBit(7), + : BasicPioDevice(p, 0x1000), scl(1), sda(1), state(IDLE), currBit(7), i2cAddr(0x00), message(0x00) { vector<I2CDevice*> devs = p->devices; |