[flashrom] [PATCH] explain better what checks are disabled in case we detect a legacy BIOS

Stefan Tauner stefan.tauner at student.tuwien.ac.at
Wed May 18 03:55:00 CEST 2011


On Tue, 12 Apr 2011 18:21:02 +0200
Stefan Tauner <stefan.tauner at student.tuwien.ac.at> wrote:

> 
> Signed-off-by: Stefan Tauner <stefan.tauner at student.tuwien.ac.at>
> ---
>  layout.c |    3 ++-
>  1 files changed, 2 insertions(+), 1 deletions(-)
> 
> diff --git a/layout.c b/layout.c
> index 92fe852..d719a05 100644
> --- a/layout.c
> +++ b/layout.c
> @@ -76,7 +76,8 @@ int show_id(uint8_t *bios, int size, int force)
>  	mb_vendor_offset = *(walk - 2);
>  	if ((*walk) == 0 || ((*walk) & 0x3ff) != 0 || (*walk) > size ||
>  	    mb_part_offset > size || mb_vendor_offset > size) {
> -		msg_pinfo("Flash image seems to be a legacy BIOS. Disabling checks.\n");
> +		msg_pinfo("Flash image seems to be a legacy BIOS. "
> +		          "Disabling coreboot-related checks.\n");
>  		return 0;
>  	}
>  
> -- 
> 1.7.1
> 
Acked-by: Peter Stuge <peter at stuge.se> (irc conversation)
thanks!

applied in r1310

-- 
Kind regards/Mit freundlichen Grüßen, Stefan Tauner




More information about the flashrom mailing list