config: Command line support for multi-channel memory
authorAndreas Hansson <andreas.hansson@arm.com>
Mon, 19 Aug 2013 07:52:34 +0000 (03:52 -0400)
committerAndreas Hansson <andreas.hansson@arm.com>
Mon, 19 Aug 2013 07:52:34 +0000 (03:52 -0400)
commitc26911013c799d63dfe854de8cce11137324cde2
tree78146c1582a62407565da5b2bac34581b021015f
parent49d88f08b0ff463bca04285dca240b3730889a1d
config: Command line support for multi-channel memory

This patch adds support for specifying multi-channel memory
configurations on the command line, e.g. 'se/fs.py
--mem-type=ddr3_1600_x64 --mem-channels=4'. To enable this, it
enhances the functionality of MemConfig and moves the existing
makeMultiChannel class method from SimpleDRAM to the support scripts.

The se/fs.py example scripts are updated to make use of the new
feature.
configs/common/MemConfig.py
configs/common/Options.py
configs/example/fs.py
configs/example/se.py
src/mem/SimpleDRAM.py