From 6533f2000bcd6d01f59655491198950b4ebff80b Mon Sep 17 00:00:00 2001 From: Andreas Sandberg Date: Sat, 23 May 2015 13:46:54 +0100 Subject: arm: Get rid of pointless have_generic_timer param The ArmSystem class has a parameter to indicate whether it is configured to use the generic timer extension or not. This parameter doesn't affect any feature flags in the current implementation and is therefore completely unnecessary. In fact, we usually don't set it even if a system has a generic timer. If we ever need to check if there is a generic timer present, we should just request a pointer and check if it is non-null instead. --- src/arch/arm/ArmSystem.py | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/arch/arm/ArmSystem.py') diff --git a/src/arch/arm/ArmSystem.py b/src/arch/arm/ArmSystem.py index f3c2c8891..b9769da4b 100644 --- a/src/arch/arm/ArmSystem.py +++ b/src/arch/arm/ArmSystem.py @@ -58,8 +58,6 @@ class ArmSystem(System): have_virtualization = Param.Bool(False, "True if Virtualization Extensions are implemented") have_lpae = Param.Bool(False, "True if LPAE is implemented") - have_generic_timer = Param.Bool(False, - "True if the Generic Timer extension is implemented") highest_el_is_64 = Param.Bool(False, "True if the register width of the highest implemented exception level " "is 64 bits (ARMv8)") -- cgit v1.2.3