From 141a2f697b3a17a38c3cb00cc1a25c36ed9119e7 Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Mon, 23 Nov 2020 20:06:30 -0800 Subject: [PATCH] dev: Set the "status" field of the HDLCD device tree node to "ok". This makes the kernel enable the device. Change-Id: I2c237b9ba038c5128e2a7e020587ac46ef7b4abd Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/37936 Reviewed-by: Giacomo Travaglini Maintainer: Giacomo Travaglini Tested-by: kokoro --- src/dev/arm/RealView.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/dev/arm/RealView.py b/src/dev/arm/RealView.py index 0b5fddadd..8969bc007 100644 --- a/src/dev/arm/RealView.py +++ b/src/dev/arm/RealView.py @@ -531,7 +531,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" + _status = "ok" encoder = Param.Display(Display1080p(), "Display encoder") @@ -563,10 +563,6 @@ class HDLcd(AmbaDmaDevice): node.append(FdtPropertyWords("clocks", state.phandle(self.pxl_clk))) node.append(FdtPropertyStrings("clock-names", ["pxlclk"])) - # This driver is disabled by default since the required DT nodes - # 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", [ self._status ])) self.addIommuProperty(state, node) -- 2.30.2