summaryrefslogtreecommitdiff
path: root/src/dev/arm/RealView.py
diff options
context:
space:
mode:
authorAndreas Sandberg <andreas.sandberg@arm.com>2015-05-23 13:37:04 +0100
committerAndreas Sandberg <andreas.sandberg@arm.com>2015-05-23 13:37:04 +0100
commitcba3a125e1b7af015a736d44ab84a36129ee6890 (patch)
tree2ca284b6bd6d78d29f0aac37bb083d7acb1f5a03 /src/dev/arm/RealView.py
parentdb5c9a5f9028fd87a74e1750068511bd311435ae (diff)
downloadgem5-cba3a125e1b7af015a736d44ab84a36129ee6890.tar.xz
arm: Workaround incorrect HDLCD register order in kernel
Some versions of the kernel incorrectly swap the red and blue color select registers. This changeset adds a workaround for that by swapping them when instantiating a PixelConverter.
Diffstat (limited to 'src/dev/arm/RealView.py')
-rw-r--r--src/dev/arm/RealView.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/dev/arm/RealView.py b/src/dev/arm/RealView.py
index 95edb9d53..9ff642cb1 100644
--- a/src/dev/arm/RealView.py
+++ b/src/dev/arm/RealView.py
@@ -175,6 +175,8 @@ class HDLcd(AmbaDmaDevice):
vnc = Param.VncInput(Parent.any, "Vnc server for remote frame buffer "
"display")
amba_id = 0x00141000
+ workaround_swap_rb = Param.Bool(True, "Workaround incorrect color "
+ "selector order in some kernels")
enable_capture = Param.Bool(True, "capture frame to system.framebuffer.bmp")
class RealView(Platform):