答复: 答复: 答复: 答复: 答复: 答复: flash_rom support for AMD64

YhLu YhLu at tyan.com
Thu Mar 18 14:40:01 CET 2004


It works with pm49lf004 under 64 bit.

-----邮件原件-----
发件人: Li-Ta Lo [mailto:ollie at lanl.gov] 
发送时间: 2004年3月18日 11:50
收件人: YhLu
抄送: ron minnich; Hendricks David W.; LinuxBIOS
主题: Re: 答复: 答复: 答复: 答复: 答复: flash_rom support for AMD64

On Thu, 2004-03-18 at 12:13, YhLu wrote:
> Stuck after 3.
> 
> It seems it doesn't allow write mmio.
> 
> int probe_49fl004 (struct flashchip * flash)
> {       
>         volatile char * bios = flash->virt_addr;
>         unsigned char  id1, id2;
>         printf("3\n");
>         *(volatile char *) (bios + 0x5555) = 0xAA;
>         myusec_delay(10);      
>         printf("4\n");
>         *(volatile char *) (bios + 0x2AAA) = 0x55;
>         myusec_delay(10);   
>         printf("5\n");
>         *(volatile char *) (bios + 0x5555) = 0x90;
> 


There is some arithmeatic error in old flash_rom, please
cvs update.

Ollie




More information about the coreboot mailing list