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.
This commit is contained in:
@@ -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)")
|
||||
|
||||
Reference in New Issue
Block a user