[coreboot] [PATCH] flashrom: further cleanups to enable_flash_cs5536

Mart Raudsepp mart.raudsepp at artecdesign.ee
Fri Feb 8 13:49:47 CET 2008


Hello,

Here's a small further cleanup patch to the enable_flash_cs5536 function in chipset_enable.c:


flashrom: further cleanups to enable_flash_cs5536

Remove the "enable write to flash" message, as the caller appears to already report that.
Move the 'modprobe msr' suggestions to the first lseek64 error handling, as we get an error there already.
Rename a perror string from "read" to "read msr", as we use the latter already in this function for another read.

Signed-off-by: Mart Raudsepp <mart.raudsepp at artecdesign.ee>
---
 chipset_enable.c |    7 ++-----
 1 files changed, 2 insertions(+), 5 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: f179a0eca9958217e14e7434a6b72d304138da29.diff
Type: text/x-patch
Size: 1212 bytes
Desc: not available
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20080208/d2af4b55/attachment.diff>


More information about the coreboot mailing list