config: Clean up core timing model discovery
authorAndreas Sandberg <andreas.sandberg@arm.com>
Mon, 26 Jun 2017 15:18:56 +0000 (16:18 +0100)
committerAndreas Sandberg <andreas.sandberg@arm.com>
Mon, 3 Jul 2017 09:47:19 +0000 (09:47 +0000)
commit89530735d115578d7e88f1bba1f299becb1350ca
tree1a557ed0ea48e2222b34deea66a36274d39aa2d0
parent3212bdf3a89addef371bd7d3f43c322b002644db
config: Clean up core timing model discovery

Instead of hard-coding timing models in CpuConfig.py, use
introspection to find them in the cores.arm model package.

Change-Id: I6642dc9cbc3f5beeeec748e716c9426c233d51ea
Signed-off-by: Andreas Sandberg <andreas.sandberg@arm.com>
Reviewed-by: Gabor Dozsa <gabor.dozsa@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/3944
Reviewed-by: Jason Lowe-Power <jason@lowepower.com>
Maintainer: Jason Lowe-Power <jason@lowepower.com>
configs/common/CpuConfig.py
configs/common/cores/arm/__init__.py