[coreboot] [PATCH] superiotool: fix wrong IT8718F keyboard value

Carl-Daniel Hailfinger c-d.hailfinger.devel.2006 at gmx.net
Fri Oct 10 00:24:28 CEST 2008


On 09.10.2008 20:08, Corey Osgood wrote:
> On Thu, Oct 9, 2008 at 10:59 AM, Uwe Hermann <uwe at hermann-uwe.de> wrote:
>
>   
>> On Thu, Oct 09, 2008 at 08:26:09AM -0400, Josh wrote:
>>     
>>> According to IT8718F_V0 3_(for C version).pdf, it looks like
>>> 0xf0 should be 0x08.
>>>
>>> Signed-off-by: Josh Profitt <zorn169 at gmail.com>
>>>       
>>> Index: util/superiotool/ite.c
>>> ===================================================================
>>> --- util/superiotool/ite.c    (revision 3642)
>>> +++ util/superiotool/ite.c    (working copy)
>>> @@ -295,7 +295,7 @@
>>>                        0x00,NANA,NANA,EOT}},
>>>               {0x5, "Keyboard",
>>>                       {0x30,0x60,0x61,0x62,0x63,0x70,0x71,0xf0,EOT},
>>> -                     {0x01,0x00,0x60,0x00,0x64,0x01,0x02,0x00,EOT}},
>>> +                     {0x01,0x00,0x60,0x00,0x64,0x01,0x02,0x08,EOT}},
>>>       
>> Maybe, maybe not. Page 56 says 0x08, but on page 32 it says 0x00. The
>> datasheet contradicts itself here, and we don't know which one is
>> actually the correct default. We should probably document this in the
>> code, though.
>>
>> The difference is that KBC clock is either 8 or 12 MHz, which is
>> board-dependent, unclear what could be the default for the chip.
>>     
>
>
> So shouldn't we make this configurable via mainboard Config.lb, and use the
> value dumped by superiotool?
>   

Why not simply boot a board with that superio under coreboot where the
value is left uninitialized? Or is there no such coreboot-supported board?

Regards,
Carl-Daniel

-- 
http://www.hailfinger.org/





More information about the coreboot mailing list