summaryrefslogtreecommitdiffstats
path: root/grub-core/video/sm712_init.c
diff options
context:
space:
mode:
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 };