[coreboot] [PATCH] nvramtool: fixed working with files only on a non-coreboot system

Mathias Krause mathias.krause at secunet.com
Mon Mar 7 15:33:22 CET 2011


nvramtool tried to get the CMOS layout from the coreboot option table
even when told to take a layout file. This patch fixes that case by
slightly changing the order of evaluating the specific options. Now
almost all combinations are valid (CMOS content from NVRAM/CBFS/file
with CMOS layout from CBFS/option table/layout file).

Additionally I fixed some white space issues (spaces to tabs) and throw
in some newlines to aid readability of the code.

Signed-off-by: Mathias Krause <mathias.krause at secunet.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: nvramtool_files_only_fix.patch
Type: text/x-patch
Size: 2988 bytes
Desc: not available
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20110307/a55e8ff9/attachment.patch>


More information about the coreboot mailing list