1/*This file can be used to define custom timing for your monitor 2 * The format of each line is: 3 * { 4 * pixel clock frequency (kHz) 5 * width 6 * h-sync pulse start 7 * h-sync pulse end 8 * total pixels in line 9 * height 10 * v-sync pulse start 11 * v-sync pulse end 12 * total lines in frame 13 * sync polarity (0 is -ve,B_POSITIVE_HYSNC,B_POSITIVE_VSYNC) 14 * } 15 * 16 *To use this you must: 17 * Uncomment VALID MODE REQUIRED 18 * Fill in a number of modes that work with your display 19 * Change VALID MODES from three to the no. you defined 20 * run these commands: 21 * touch ProposeDisplayMode.c 22 * make install 23 */ 24 25//#define VALID_MODE_REQUIRED 1 26 27#define VALID_MODES 3 28 29/*note colour depth and mode flags are ignored*/ 30static const display_timing valid_mode_list[] = { 31{31500,640,648,744,840,480,481,500,500,0}, 32{49500,800,808,888,1056,600,601,620,625,B_POSITIVE_HSYNC|B_POSITIVE_VSYNC}, 33{78750,1024,1032,1128,1312,768,769,788,800,B_POSITIVE_HSYNC|B_POSITIVE_VSYNC} 34}; 35