diff options
author | Ronald G. Minnich <rminnich@google.com> | 2013-03-05 13:32:24 -0800 |
---|---|---|
committer | Stefan Reinauer <stefan.reinauer@coreboot.org> | 2013-03-20 05:31:04 +0100 |
commit | ec2d914e198928f89928838476ddbd6e5ef61b98 (patch) | |
tree | db35d146e66043efdc7702bff8939a394debd724 /src/mainboard/google/link/i915io.h | |
parent | d466d750d71f979ccd6636306b51f2d87cb19cba (diff) | |
download | coreboot-ec2d914e198928f89928838476ddbd6e5ef61b98.tar.xz |
link/graphics: implement a palette setting operator
Add a new operator, P, for the state machine, meaning
implement a palette fill.
Implement a function (palette) that fills the palette when the
P operator is hit.
This replaces 256 lines in the state machine table with 1.
Change-Id: I67d9219fe7de0ecf1fb9faf92130c00c9f5f8e88
Signed-off-by: Ronald G. Minnich <rminnich@google.com>
Reviewed-on: http://review.coreboot.org/2835
Tested-by: build bot (Jenkins)
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'src/mainboard/google/link/i915io.h')
-rw-r--r-- | src/mainboard/google/link/i915io.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mainboard/google/link/i915io.h b/src/mainboard/google/link/i915io.h index 638d59e115..06114c4eb4 100644 --- a/src/mainboard/google/link/i915io.h +++ b/src/mainboard/google/link/i915io.h @@ -49,6 +49,7 @@ #define W 3 #define V 4 #define I 8 +#define P 16 struct iodef { unsigned char op; |