blob: b5c5a46d34238bdf16d2eef5302838791ccf299a [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001/****************************************************************************
2 * "CWCIMAGE.H"-- For CS46XX. Ver 1.04
3 * Copyright 1998-2001 (c) Cirrus Logic Corp.
4 * Version 1.04
5 ****************************************************************************
6 */
7#ifndef __CS_IMAGE_H
8#define __CS_IMAGE_H
9
10#define CLEAR__COUNT 3
11#define FILL__COUNT 4
12#define BA1__DWORD_SIZE 13*1024+512
13
14static struct
15{
16 unsigned BA1__DestByteOffset;
17 unsigned BA1__SourceSize;
18} ClrStat[CLEAR__COUNT] ={ {0x00000000, 0x00003000 },
19 {0x00010000, 0x00003800 },
20 {0x00020000, 0x00007000 } };
21
22static u32 FillArray1[]={
230x00000000,0x00000000,0x00000000,0x00000000,
240x00000000,0x00000000,0x00000000,0x00000000,
250x00000000,0x00000000,0x00000163,0x00000000,
260x00000000,0x00000000,0x00000000,0x00000000,
270x00000000,0x00000000,0x00000000,0x00000000,
280x00000000,0x00000000,0x00000000,0x00000000,
290x00000000,0x00200040,0x00008010,0x00000000,
300x00000000,0x80000001,0x00000001,0x00060000,
310x00000000,0x00000000,0x00000000,0x00000000,
320x00000000,0x00000000,0x00000000,0x00000000,
330x00000000,0x00900080,0x00000173,0x00000000,
340x00000000,0x00000010,0x00800000,0x00900000,
350xf2c0000f,0x00000200,0x00000000,0x00010600,
360x00000000,0x00000000,0x00000000,0x00000000,
370x00000000,0x00000000,0x00000163,0x330300c2,
380x06000000,0x00000000,0x80008000,0x80008000,
390x3fc0000f,0x00000301,0x00010400,0x00000000,
400x00000000,0x00000000,0x00000000,0x00000000,
410x00000000,0x00b00000,0x00d0806d,0x330480c3,
420x04800000,0x00000001,0x00800001,0x0000ffff,
430x00000000,0x00000000,0x00000000,0x00000000,
440x00000000,0x00000000,0x00000000,0x00000000,
450x00000000,0x00000000,0x00000000,0x00000000,
460x00000000,0x00000000,0x00000000,0x00000000,
470x00000000,0x00000000,0x00000000,0x00000000,
480x00000000,0x00000000,0x00000000,0x00000000,
490x00000000,0x00000000,0x00000000,0x00000000,
500x00000000,0x00000000,0x00000000,0x00000000,
510x066a0600,0x06350070,0x0000929d,0x929d929d,
520x00000000,0x0000735a,0x00000600,0x00000000,
530x929d735a,0x00000000,0x00010000,0x735a735a,
540xa431ac75,0xa431ac75,0xa431ac75,0xa431ac75,
550x00000000,0x00000000,0x00000000,0x00000000,
560x00000000,0x00000000,0x00000000,0x00000000,
570x00000000,0x00000000,0x0000804f,0x000000c3,
580x05000000,0x00a00010,0x00000000,0x80008000,
590x00000000,0x00000000,0x00000700,0x00000000,
600x00000000,0x00000000,0x00000000,0x00000000,
610x00000080,0x00a00000,0x0000809a,0x000000c2,
620x07400000,0x00000000,0x80008000,0xffffffff,
630x00c80028,0x00005555,0x00000000,0x000107a0,
640x00c80028,0x000000c2,0x06800000,0x00000000,
650x06e00080,0x00300000,0x000080bb,0x000000c9,
660x07a00000,0x04000000,0x80008000,0xffffffff,
670x00c80028,0x00005555,0x00000000,0x00000780,
680x00c80028,0x000000c5,0xff800000,0x00000000,
690x00640080,0x00c00000,0x00008197,0x000000c9,
700x07800000,0x04000000,0x80008000,0xffffffff,
710x00000000,0x00000000,0x00000000,0x00000000,
720x00000000,0x00000000,0x00000000,0x00000000,
730x00000000,0x00000000,0x0000805e,0x000000c1,
740x00000000,0x00800000,0x80008000,0x80008000,
750x00020000,0x0000ffff,0x00000000,0x00000000};
76
77static u32 FillArray2[]={
780x929d0600,0x929d929d,0x929d929d,0x929d0000,
790x929d929d,0x929d929d,0x929d929d,0x929d929d,
800x929d929d,0x00100635,0x060b013f,0x00000004,
810x00000001,0x007a0002,0x00000000,0x066e0610,
820x0105929d,0x929d929d,0x929d929d,0x929d929d,
830x929d929d,0xa431ac75,0x0001735a,0xa431ac75,
840xa431ac75,0xa431ac75,0xa431ac75,0xa431ac75,
850xa431ac75,0xa431ac75,0xa431ac75,0xa431ac75,
860xa431ac75,0xa431ac75,0xa431ac75,0xa431ac75,
870xa431ac75,0xa431ac75,0xa431ac75,0xa431ac75,
880xa431ac75,0xa431ac75,0xa431ac75,0xa431ac75,
890xa431ac75,0xa431ac75,0xa431ac75,0xa431ac75,
900xa431ac75,0xa431ac75,0xa431ac75,0x735a0051,
910x00000000,0x929d929d,0x929d929d,0x929d929d,
920x929d929d,0x929d929d,0x929d929d,0x929d929d,
930x929d929d,0x929d929d,0x00000000,0x06400136,
940x0000270f,0x00010000,0x007a0000,0x00000000,
950x068e0645,0x0105929d,0x929d929d,0x929d929d,
960x929d929d,0x929d929d,0xa431ac75,0x0001735a,
970xa431ac75,0xa431ac75,0xa431ac75,0xa431ac75,
980xa431ac75,0xa431ac75,0xa431ac75,0xa431ac75,
990xa431ac75,0xa431ac75,0xa431ac75,0xa431ac75,
1000xa431ac75,0xa431ac75,0xa431ac75,0xa431ac75,
1010xa431ac75,0xa431ac75,0xa431ac75,0xa431ac75,
1020xa431ac75,0xa431ac75,0xa431ac75,0xa431ac75,
1030xa431ac75,0xa431ac75,0xa431ac75,0xa431ac75,
1040x735a0100,0x00000000,0x00000000,0x00000000};
105
106static u32 FillArray3[]={
1070x00000000,0x00000000,0x00000000,0x00010004};
108
109static u32 FillArray4[]={
1100x00040730,0x00001002,0x000f619e,0x00001003,
1110x00001705,0x00001400,0x000a411e,0x00001003,
1120x00040730,0x00001002,0x000f619e,0x00001003,
1130x00009705,0x00001400,0x000a411e,0x00001003,
1140x00040730,0x00001002,0x000f619e,0x00001003,
1150x00011705,0x00001400,0x000a411e,0x00001003,
1160x00040730,0x00001002,0x000f619e,0x00001003,
1170x00019705,0x00001400,0x000a411e,0x00001003,
1180x00040730,0x00001002,0x000f619e,0x00001003,
1190x00021705,0x00001400,0x000a411e,0x00001003,
1200x00040730,0x00001002,0x000f619e,0x00001003,
1210x00029705,0x00001400,0x000a411e,0x00001003,
1220x00040730,0x00001002,0x000f619e,0x00001003,
1230x00031705,0x00001400,0x000a411e,0x00001003,
1240x00040730,0x00001002,0x000f619e,0x00001003,
1250x00039705,0x00001400,0x000a411e,0x00001003,
1260x000fe19e,0x00001003,0x0009c730,0x00001003,
1270x0008e19c,0x00001003,0x000083c1,0x00093040,
1280x00098730,0x00001002,0x000ee19e,0x00001003,
1290x00009705,0x00001400,0x000a211e,0x00001003,
1300x00098730,0x00001002,0x000ee19e,0x00001003,
1310x00011705,0x00001400,0x000a211e,0x00001003,
1320x00098730,0x00001002,0x000ee19e,0x00001003,
1330x00019705,0x00001400,0x000a211e,0x00001003,
1340x00098730,0x00001002,0x000ee19e,0x00001003,
1350x00021705,0x00001400,0x000a211e,0x00001003,
1360x00098730,0x00001002,0x000ee19e,0x00001003,
1370x00029705,0x00001400,0x000a211e,0x00001003,
1380x00098730,0x00001002,0x000ee19e,0x00001003,
1390x00031705,0x00001400,0x000a211e,0x00001003,
1400x00098730,0x00001002,0x000ee19e,0x00001003,
1410x00039705,0x00001400,0x000a211e,0x00001003,
1420x0000a730,0x00001008,0x000e2730,0x00001002,
1430x0000a731,0x00001002,0x0000a731,0x00001002,
1440x0000a731,0x00001002,0x0000a731,0x00001002,
1450x0000a731,0x00001002,0x0000a731,0x00001002,
1460x00000000,0x00000000,0x000f619c,0x00001003,
1470x0007f801,0x000c0000,0x00000037,0x00001000,
1480x00000000,0x00000000,0x00000000,0x00000000,
1490x00000000,0x00000000,0x00000000,0x00000000,
1500x00000000,0x000c0000,0x00000000,0x00000000,
1510x0000373c,0x00001000,0x00000000,0x00000000,
1520x000ee19c,0x00001003,0x0007f801,0x000c0000,
1530x00000037,0x00001000,0x00000000,0x00000000,
1540x00000000,0x00000000,0x00000000,0x00000000,
1550x00000000,0x00000000,0x0000273c,0x00001000,
1560x00000033,0x00001000,0x000e679e,0x00001003,
1570x00007705,0x00001400,0x000ac71e,0x00001003,
1580x00087fc1,0x000c3be0,0x0007f801,0x000c0000,
1590x00000037,0x00001000,0x00000000,0x00000000,
1600x00000000,0x00000000,0x00000000,0x00000000,
1610x00000000,0x00000000,0x0000a730,0x00001003,
1620x00000033,0x00001000,0x0007f801,0x000c0000,
1630x00000037,0x00001000,0x00000000,0x00000000,
1640x00000000,0x00000000,0x00000000,0x00000000,
1650x00000000,0x00000000,0x00000000,0x000c0000,
1660x00000032,0x00001000,0x0000273d,0x00001000,
1670x0004a730,0x00001003,0x00000f41,0x00097140,
1680x0000a841,0x0009b240,0x0000a0c1,0x0009f040,
1690x0001c641,0x00093540,0x0001cec1,0x0009b5c0,
1700x00000000,0x00000000,0x0001bf05,0x0003fc40,
1710x00002725,0x000aa400,0x00013705,0x00093a00,
1720x0000002e,0x0009d6c0,0x00038630,0x00001004,
1730x0004ef0a,0x000eb785,0x0003fc8a,0x00000000,
1740x00000000,0x000c70e0,0x0007d182,0x0002c640,
1750x00000630,0x00001004,0x000799b8,0x0002c6c0,
1760x00031705,0x00092240,0x00039f05,0x000932c0,
1770x0003520a,0x00000000,0x00040731,0x0000100b,
1780x00010705,0x000b20c0,0x00000000,0x000eba44,
1790x00032108,0x000c60c4,0x00065208,0x000c2917,
1800x000406b0,0x00001007,0x00012f05,0x00036880,
1810x0002818e,0x000c0000,0x0004410a,0x00000000,
1820x00040630,0x00001007,0x00029705,0x000c0000,
1830x00000000,0x00000000,0x00003fc1,0x0003fc40,
1840x000037c1,0x00091b40,0x00003fc1,0x000911c0,
1850x000037c1,0x000957c0,0x00003fc1,0x000951c0,
1860x000037c1,0x00000000,0x00003fc1,0x000991c0,
1870x000037c1,0x00000000,0x00003fc1,0x0009d1c0,
1880x000037c1,0x00000000,0x0001ccc1,0x000915c0,
1890x0001c441,0x0009d800,0x0009cdc1,0x00091240,
1900x0001c541,0x00091d00,0x0009cfc1,0x00095240,
1910x0001c741,0x00095c80,0x000e8ca9,0x00099240,
1920x000e85ad,0x00095640,0x00069ca9,0x00099d80,
1930x000e952d,0x00099640,0x000eaca9,0x0009d6c0,
1940x000ea5ad,0x00091a40,0x0006bca9,0x0009de80,
1950x000eb52d,0x00095a40,0x000ecca9,0x00099ac0,
1960x000ec5ad,0x0009da40,0x000edca9,0x0009d300,
1970x000a6e0a,0x00001000,0x000ed52d,0x00091e40,
1980x000eeca9,0x00095ec0,0x000ee5ad,0x00099e40,
1990x0006fca9,0x00002500,0x000fb208,0x000c59a0,
2000x000ef52d,0x0009de40,0x00068ca9,0x000912c1,
2010x000683ad,0x00095241,0x00020f05,0x000991c1,
2020x00000000,0x00000000,0x00086f88,0x00001000,
2030x0009cf81,0x000b5340,0x0009c701,0x000b92c0,
2040x0009de81,0x000bd300,0x0009d601,0x000b1700,
2050x0001fd81,0x000b9d80,0x0009f501,0x000b57c0,
2060x000a0f81,0x000bd740,0x00020701,0x000b5c80,
2070x000a1681,0x000b97c0,0x00021601,0x00002500,
2080x000a0701,0x000b9b40,0x000a0f81,0x000b1bc0,
2090x00021681,0x00002d00,0x00020f81,0x000bd800,
2100x000a0701,0x000b5bc0,0x00021601,0x00003500,
2110x000a0f81,0x000b5f40,0x000a0701,0x000bdbc0,
2120x00021681,0x00003d00,0x00020f81,0x000b1d00,
2130x000a0701,0x000b1fc0,0x00021601,0x00020500,
2140x00020f81,0x000b1341,0x000a0701,0x000b9fc0,
2150x00021681,0x00020d00,0x00020f81,0x000bde80,
2160x000a0701,0x000bdfc0,0x00021601,0x00021500,
2170x00020f81,0x000b9341,0x00020701,0x000b53c1,
2180x00021681,0x00021d00,0x000a0f81,0x000d0380,
2190x0000b601,0x000b15c0,0x00007b01,0x00000000,
2200x00007b81,0x000bd1c0,0x00007b01,0x00000000,
2210x00007b81,0x000b91c0,0x00007b01,0x000b57c0,
2220x00007b81,0x000b51c0,0x00007b01,0x000b1b40,
2230x00007b81,0x000b11c0,0x00087b01,0x000c3dc0,
2240x0007e488,0x000d7e45,0x00000000,0x000d7a44,
2250x0007e48a,0x00000000,0x00011f05,0x00084080,
2260x00000000,0x00000000,0x00001705,0x000b3540,
2270x00008a01,0x000bf040,0x00007081,0x000bb5c0,
2280x00055488,0x00000000,0x0000d482,0x0003fc40,
2290x0003fc88,0x00000000,0x0001e401,0x000b3a00,
2300x0001ec81,0x000bd6c0,0x0004ef08,0x000eb784,
2310x000c86b0,0x00001007,0x00008281,0x000bb240,
2320x0000b801,0x000b7140,0x00007888,0x00000000,
2330x0000073c,0x00001000,0x0007f188,0x000c0000,
2340x00000000,0x00000000,0x00055288,0x000c555c,
2350x0005528a,0x000c0000,0x0009fa88,0x000c5d00,
2360x0000fa88,0x00000000,0x00000032,0x00001000,
2370x0000073d,0x00001000,0x0007f188,0x000c0000,
2380x00000000,0x00000000,0x0008c01c,0x00001003,
2390x00002705,0x00001008,0x0008b201,0x000c1392,
2400x0000ba01,0x00000000,0x00008731,0x00001400,
2410x0004c108,0x000fe0c4,0x00057488,0x00000000,
2420x000a6388,0x00001001,0x0008b334,0x000bc141,
2430x0003020e,0x00000000,0x000886b0,0x00001008,
2440x00003625,0x000c5dfa,0x000a638a,0x00001001,
2450x0008020e,0x00001002,0x0008a6b0,0x00001008,
2460x0007f301,0x00000000,0x00000000,0x00000000,
2470x00002725,0x000a8c40,0x000000ae,0x00000000,
2480x000d8630,0x00001008,0x00000000,0x000c74e0,
2490x0007d182,0x0002d640,0x000a8630,0x00001008,
2500x000799b8,0x0002d6c0,0x0000748a,0x000c3ec5,
2510x0007420a,0x000c0000,0x00062208,0x000c4117,
2520x00070630,0x00001009,0x00000000,0x000c0000,
2530x0001022e,0x00000000,0x0003a630,0x00001009,
2540x00000000,0x000c0000,0x00000036,0x00001000,
2550x00000000,0x00000000,0x00000000,0x00000000,
2560x00000000,0x00000000,0x00000000,0x00000000,
2570x0002a730,0x00001008,0x0007f801,0x000c0000,
2580x00000037,0x00001000,0x00000000,0x00000000,
2590x00000000,0x00000000,0x00000000,0x00000000,
2600x00000000,0x00000000,0x0002a730,0x00001008,
2610x00000033,0x00001000,0x0002a705,0x00001008,
2620x00007a01,0x000c0000,0x000e6288,0x000d550a,
2630x0006428a,0x00000000,0x00060730,0x0000100a,
2640x00000000,0x000c0000,0x00000000,0x00000000,
2650x0007aab0,0x00034880,0x00078fb0,0x0000100b,
2660x00057488,0x00000000,0x00033b94,0x00081140,
2670x000183ae,0x00000000,0x000786b0,0x0000100b,
2680x00022f05,0x000c3545,0x0000eb8a,0x00000000,
2690x00042731,0x00001003,0x0007aab0,0x00034880,
2700x00048fb0,0x0000100a,0x00057488,0x00000000,
2710x00033b94,0x00081140,0x000183ae,0x00000000,
2720x000806b0,0x0000100b,0x00022f05,0x00000000,
2730x00007401,0x00091140,0x00048f05,0x000951c0,
2740x00042731,0x00001003,0x0000473d,0x00001000,
2750x000f19b0,0x000bbc47,0x00080000,0x000bffc7,
2760x000fe19e,0x00001003,0x00000000,0x00000000,
2770x0008e19c,0x00001003,0x000083c1,0x00093040,
2780x00000f41,0x00097140,0x0000a841,0x0009b240,
2790x0000a0c1,0x0009f040,0x0001c641,0x00093540,
2800x0001cec1,0x0009b5c0,0x00000000,0x000fdc44,
2810x00055208,0x00000000,0x00010705,0x000a2880,
2820x0000a23a,0x00093a00,0x0003fc8a,0x000df6c5,
2830x0004ef0a,0x000c0000,0x00012f05,0x00036880,
2840x00065308,0x000c2997,0x000d86b0,0x0000100a,
2850x0004410a,0x000d40c7,0x00000000,0x00000000,
2860x00080730,0x00001004,0x00056f0a,0x000ea105,
2870x00000000,0x00000000,0x0000473d,0x00001000,
2880x000f19b0,0x000bbc47,0x00080000,0x000bffc7,
2890x0000273d,0x00001000,0x00000000,0x000eba44,
2900x00048f05,0x0000f440,0x00007401,0x0000f7c0,
2910x00000734,0x00001000,0x00010705,0x000a6880,
2920x00006a88,0x000c75c4,0x00000000,0x000e5084,
2930x00000000,0x000eba44,0x00087401,0x000e4782,
2940x00000734,0x00001000,0x00010705,0x000a6880,
2950x00006a88,0x000c75c4,0x0007c108,0x000c0000,
2960x0007e721,0x000bed40,0x00005f25,0x000badc0,
2970x0003ba97,0x000beb80,0x00065590,0x000b2e00,
2980x00033217,0x00003ec0,0x00065590,0x000b8e40,
2990x0003ed80,0x000491c0,0x00073fb0,0x00074c80,
3000x000283a0,0x0000100c,0x000ee388,0x00042970,
3010x00008301,0x00021ef2,0x000b8f14,0x0000000f,
3020x000c4d8d,0x0000001b,0x000d6dc2,0x000e06c6,
3030x000032ac,0x000c3916,0x0004edc2,0x00074c80,
3040x00078898,0x00001000,0x00038894,0x00000032,
3050x000c4d8d,0x00092e1b,0x000d6dc2,0x000e06c6,
3060x0004edc2,0x000c1956,0x0000722c,0x00034a00,
3070x00041705,0x0009ed40,0x00058730,0x00001400,
3080x000d7488,0x000c3a00,0x00048f05,0x00000000};
309
310static struct
311{ u32 Offset;
312 u32 Size;
313 u32 *pFill;
314} FillStat[FILL__COUNT] = {
315 {0x00000000, sizeof(FillArray1), FillArray1},
316 {0x00001800, sizeof(FillArray2), FillArray2},
317 {0x000137f0, sizeof(FillArray3), FillArray3},
318 {0x00020000, sizeof(FillArray4), FillArray4}
319 };
320
321
322#endif