On 15/08/07 11:21 +0200, Ingmar Schraub wrote: > > Jordan Crouse wrote: > > On 14/08/07 21:28 +0200, Peter Stuge wrote: > >> On Tue, Aug 14, 2007 at 11:25:38AM -0600, Marc Jones wrote: > >>> Is it worth adding rdmsr/wrmsr to flashrom? > >> Is there a better option? > > > > Nope. You need MSR acess, and thats the only way to get it from > > userspace. > > > >> Is it neccessary to always write all 64 bits of the MSR by the way? > > > > Yes - at least this way, which uses just a straight wrmsr in the kernel. > > Okay, I hacked that in and it seems to work. My SST49LF040B flash chip > is properly identified at 0xfff80000. > > How would you call the enable_flash function in chipset_enable? E.g. > enable_flash_cs5536 or enable_flash_geodelx ?
I vote for enabled_flash_cs5536. > Ingmar > > -- Jordan Crouse Systems Software Development Engineer Advanced Micro Devices, Inc. -- linuxbios mailing list linuxbios@linuxbios.org http://www.linuxbios.org/mailman/listinfo/linuxbios