[OLPC-devel] Re: olpcflash 0.1.0 Alpha
Ronald G Minnich
rminnich at lanl.gov
Wed Aug 16 11:07:50 EDT 2006
Jordan Crouse wrote:
> On 15/08/06 23:58 -0500, Richard Smith wrote:
>
>>void put_kbc_in_reset(void){
>> unsigned char val;
>> unsigned long timeout = 500000;
>>
>> outb(0xd8,0x66);
>> while((inb(0x66) & 0x02) & timeout>0) {
>> timeout--;
>> }
>
>
> That while statement looks a bit suspect. Looks like you missed a &.
>
> Jordan
good catch.
I just confirmed that with 2376, one can flash the SPI and boot!
I'm done with PLCC!
thanks
ron
More information about the Devel
mailing list