From 483f873d0138a668f160ba06510600084cdc8473 Mon Sep 17 00:00:00 2001 From: Rene de Jong Date: Thu, 23 Apr 2015 13:37:50 -0400 Subject: arm, dev: Add a UFS device This patch introduces a UFS host controller and a UFS device. More information about the UFS standard can be found at the JEDEC site: http://www.jedec.org/standards-documents/results/jesd220 Note that the model does not implement the complete standard, and as such is not an actual implementation of UFS. The following SCSI commands are implemented: inquiry, read, read capacity, report LUNs, start/stop, test unit ready, verify, write, format unit, send diagnostic, synchronize cache, mode select, mode sense, request sense, unmap, write buffer and read buffer. This is sufficient for usage with Linux and Android. To interact with this model a kernel version 3.9 or above is needed. --- src/dev/arm/SConscript | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/dev/arm/SConscript') diff --git a/src/dev/arm/SConscript b/src/dev/arm/SConscript index 09ee7b4e5..06398ed15 100644 --- a/src/dev/arm/SConscript +++ b/src/dev/arm/SConscript @@ -44,6 +44,7 @@ if env['TARGET_ISA'] == 'arm': SimObject('FlashDevice.py') SimObject('Gic.py') SimObject('RealView.py') + SimObject('UFSHostDevice.py') SimObject('EnergyCtrl.py') Source('a9scu.cc') @@ -64,6 +65,7 @@ if env['TARGET_ISA'] == 'arm': Source('rtc_pl031.cc') Source('timer_cpulocal.cc') Source('vgic.cc') + Source('ufs_device.cc') Source('energy_ctrl.cc') DebugFlag('AMBA') @@ -75,4 +77,5 @@ if env['TARGET_ISA'] == 'arm': DebugFlag('GIC') DebugFlag('RVCTRL') DebugFlag('EnergyCtrl') + DebugFlag('UFSHostDevice') DebugFlag('VGIC') -- cgit v1.2.3