[LinuxBIOS] EEPROM/flash device not found error

Stefan Reinauer stepan at coresystems.de
Wed Aug 15 18:28:15 CEST 2007


Ingmar Schraub wrote:
> Peter Stuge wrote:
>   
>> enable_flash_geodelx() yes.
>>
>> Please send a patch! Check out
>> http://linuxbios.org/Development_Guidelines
>>     
>
> Please have a look at the attached patch.
>
> I've tested it first with a bunch of printf lines in between the
> read/write steps and it looked good. The 'production' version comes
> without the printfs, but with some sanity testing which works fine here.

Hm I wonder whether it might make sense to use asm("rdmsr") instead of
/dev/... so that it will work on non-linux systems as well?

Great work!

-- 
coresystems GmbH • Brahmsstr. 16 • D-79104 Freiburg i. Br.
      Tel.: +49 761 7668825 • Fax: +49 761 7664613
Email: info at coresystems.dehttp://www.coresystems.de/





More information about the coreboot mailing list