summaryrefslogtreecommitdiffstats
path: root/grub-core/video/sm712_init.c
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 16:29:51 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 16:29:51 +0000
commit6e7a315eb67cb6c113cf37e1d66c4f11a51a2b3e (patch)
tree32451fa3cdd9321fb2591fada9891b2cb70a9cd1 /grub-core/video/sm712_init.c
parentInitial commit. (diff)
downloadgrub2-6e7a315eb67cb6c113cf37e1d66c4f11a51a2b3e.tar.xz
grub2-6e7a315eb67cb6c113cf37e1d66c4f11a51a2b3e.zip
Adding upstream version 2.06.upstream/2.06upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'grub-core/video/sm712_init.c')
-rw-r--r--grub-core/video/sm712_init.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/grub-core/video/sm712_init.c b/grub-core/video/sm712_init.c
new file mode 100644
index 0000000..cdb0b73
--- /dev/null
+++ b/grub-core/video/sm712_init.c
@@ -0,0 +1,14 @@
+/* Following sequence is a capture of sm712 initialisation sequence. */
+static grub_uint8_t sm712_sr_seq1[] =
+ { 0xc8, 0x40, 0x14, 0x60, 0x0, 0xa, 0x92, 0x0,
+ 0x51, 0x00, 0x01, 0x00, 0x0, 0x0, 0x00, 0x0,
+ 0xc4, 0x30, 0x02, 0x00, 0x1 };
+
+static grub_uint8_t sm712_sr_seq2[] =
+ { 0x28, 0x03, 0x24, 0x09, 0xc0, 0x3a, 0x3a, 0x3a,
+ 0x3a, 0x3a, 0x3a, 0x3a, 0x00, 0x00, 0x03, 0xff,
+ 0x00, 0xfc, 0x00, 0x00, 0x20, 0x18, 0x00, 0xfc,
+ 0x20, 0x0c, 0x44, 0x20, 0x00, 0x00, 0x00, 0x3a,
+ 0x06, 0x68, 0xa7, 0x7f, 0x83, 0x24, 0xff, 0x03,
+ 0x00, 0x60, 0x59, 0x3a, 0x3a, 0x00, 0x00, 0x3a,
+ 0x01, 0x80 };