summaryrefslogtreecommitdiff
path: root/src/dev/SConscript
diff options
context:
space:
mode:
authorPeter Enns <Peter.Enns@arm.com>2015-04-23 13:37:48 -0400
committerPeter Enns <Peter.Enns@arm.com>2015-04-23 13:37:48 -0400
commit2e64590b884540820072b0ea95707f50da5b0a65 (patch)
tree4b309a378d25580449523e002e428259c76a8e32 /src/dev/SConscript
parentc8c4f66889686d621abe9393306d3aea1fda3782 (diff)
downloadgem5-2e64590b884540820072b0ea95707f50da5b0a65.tar.xz
dev: Add support for i2c devices
This patch adds an I2C bus and base device. I2C is used to connect a variety of sensors, and this patch serves as a starting point to enable a range of I2C devices.
Diffstat (limited to 'src/dev/SConscript')
-rw-r--r--src/dev/SConscript2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/dev/SConscript b/src/dev/SConscript
index 8596c2f74..416e5052f 100644
--- a/src/dev/SConscript
+++ b/src/dev/SConscript
@@ -43,6 +43,7 @@ SimObject('BadDevice.py')
SimObject('CopyEngine.py')
SimObject('DiskImage.py')
SimObject('Ethernet.py')
+SimObject('I2C.py')
SimObject('Ide.py')
SimObject('Pci.py')
SimObject('Platform.py')
@@ -61,6 +62,7 @@ Source('etherint.cc')
Source('etherlink.cc')
Source('etherpkt.cc')
Source('ethertap.cc')
+Source('i2cbus.cc')
Source('i8254xGBe.cc')
Source('ide_ctrl.cc')
Source('ide_disk.cc')