arm: make Arm GenericTimer a ClockedObject
Within a device tree, the GenericTimer device needs to point (via phandle)
to a clock domain which is itself also an object in the device tree. Within
gem5, clock domains are managed by making all clocked SimObjects inherit
from ClockedObject rather than SimObject.
Without this change, the GenericTimer is unable to generate the appropriate
clock domain phandle, and will crash during DTB autogeneration.
Reviewed-by: Andreas Sandberg <email@example.com>
Reviewed-by: Jason Lowe-Power <firstname.lastname@example.org>
Maintainer: Andreas Sandberg <email@example.com>
3 files changed