summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGiacomo Travaglini <giacomo.travaglini@arm.com>2019-08-12 11:55:54 +0100
committerGiacomo Travaglini <giacomo.travaglini@arm.com>2019-09-19 15:49:27 +0000
commitf525028c126af33da532f6703a152d81d900dcf7 (patch)
treef193be1aba7c803ae75963264bbf0ce11b91bba4 /src
parent2e55ff352f2bd1c36f5b33f9c852430f123205ce (diff)
downloadgem5-f525028c126af33da532f6703a152d81d900dcf7.tar.xz
dev-arm: Conditionally enable HDLcd when doing DTB autogen
This is a preparation change for a real DTB autogen implementation Change-Id: Ia0c1c5e65ea96036e55455eb4222cec12944d33a Signed-off-by: Giacomo Travaglini <giacomo.travaglini@arm.com> Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com> Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/20331 Maintainer: Andreas Sandberg <andreas.sandberg@arm.com> Tested-by: kokoro <noreply+kokoro@google.com>
Diffstat (limited to 'src')
-rw-r--r--src/dev/arm/RealView.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/dev/arm/RealView.py b/src/dev/arm/RealView.py
index b53cd9922..fc26a017d 100644
--- a/src/dev/arm/RealView.py
+++ b/src/dev/arm/RealView.py
@@ -491,6 +491,7 @@ class HDLcd(AmbaDmaDevice):
pixel_chunk = Param.Unsigned(32, "Number of pixels to handle in one batch")
virt_refresh_rate = Param.Frequency("20Hz", "Frame refresh rate "
"in KVM mode")
+ _status = "disabled"
encoder = Param.Display(Display1080p(), "Display encoder")
@@ -527,7 +528,7 @@ class HDLcd(AmbaDmaDevice):
# haven't been standardized yet. To use it, override this status to
# "ok" and add the display configuration nodes required by the driver.
# See the driver for more information.
- node.append(FdtPropertyStrings("status", ["disabled"]))
+ node.append(FdtPropertyStrings("status", [ self._status ]))
self.addIommuProperty(state, node)