diff options
Diffstat (limited to 'src/cpu/BaseCPU.py')
-rw-r--r-- | src/cpu/BaseCPU.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cpu/BaseCPU.py b/src/cpu/BaseCPU.py index 60c86a44f..93cb6e071 100644 --- a/src/cpu/BaseCPU.py +++ b/src/cpu/BaseCPU.py @@ -365,7 +365,7 @@ class BaseCPU(MemObject): warn("Platform not found for device tree generation; " \ "system or multiple CPUs may not start") - freq = round(self.clk_domain.unproxy(self).clock[0].frequency) + freq = int(self.clk_domain.unproxy(self).clock[0].frequency) node.append(FdtPropertyWords("clock-frequency", freq)) # Unique key for this CPU |