[coreboot] [PATCH] SeaBIOS - vgahooks improvements

Rudolf Marek r.marek at assembler.cz
Thu Dec 25 23:56:58 CET 2008


> Yes,I do, I have a spec named "Video BIOS External Interface Spec for
> UniChrome IGP". A 75 pages file. But it is confidential. (I can not
> understand why it is confidential). Maybe you can ask Bruce for getting this
> file from me(maybe he has no this file...).

Yes exactly that file. I think I will write Bruce that this is wrong for
unichrome/openchrome. Also for higher bandwidth memories, the specs is silent...
I guess DDR2 400 would mean 6 maybe.

Specs:
 0: 66MHz
 1: 100MHz
 2: 133MHz
 3: 200MHz ( DDR200 )
 4: 266MHz ( DDR266 )
 5: 333MHz ( DDR333 )
 6: 400MHz ( DDR400 )
 7: 533MHz ( DDR I/II 533
 8: 667MHz ( DDR I/II 667)

Hmm so both OpenChrome an Unichrome drivers have it wrong ;)

Unichrome thinks:

/* For pVia->MemClk */
#define VIA_MEM_DDR_200   0x00
#define VIA_MEM_DDR_266   0x01
#define VIA_MEM_DDR_333   0x02
#define VIA_MEM_DDR_400   0x03
#define VIA_MEM_DDR2_400  0x04
#define VIA_MEM_DDR2_533  0x05
#define VIA_MEM_DDR2_667  0x06
#define VIA_MEM_DDR2_800  0x07
#define VIA_MEM_DDR2_1066 0x08

Openchrome thinks:
+       0: SDR  66Mhz
+       1: SDR 100Mhz
+       2: SDR 133Mhz
+       3: DDR 100Mhz (PC1600 or DDR200)
+       4: DDR 133Mhz (PC2100 or DDR266)
+       5: DDR 166Mhz (PC2700 or DDR333)
+       6: DDR 200Mhz (PC3200 or DDR400)
+       7: DDR2 100Mhz (DDR2 400)
+       8: DDR2 133Mhz (DDR2 533)
+       9: DDR2 166Mhz (DDR2 667)
+       A: DDR2 200Mhz (DDR2 800)
+       B: DDR2 233Mhz (DDR2 1066)


Perhaps they should be fixed in the future.
Rudolf




More information about the coreboot mailing list