[flashrom] [PATCH] Kill spurious cbtable related board enable warning

Stefan Reinauer stepan at coresystems.de
Mon Jul 27 20:00:41 CEST 2009


On 7/27/09 7:39 PM, Carl-Daniel Hailfinger wrote:
> Index: flashrom-cbtable_boardenable_nowarn/board_enable.c
> ===================================================================
> --- flashrom-cbtable_boardenable_nowarn/board_enable.c	(Revision 667)
> +++ flashrom-cbtable_boardenable_nowarn/board_enable.c	(Arbeitskopie)
> @@ -1134,7 +1134,14 @@
>  	if (partmatch)
>  		return partmatch;
>  
> -	printf("\nUnknown vendor:board from coreboot table or -m option: %s:%s\n\n", vendor, part);
> +	if (partvendor_from_cbtable) {
> +		printf("vendor:board from coreboot table is %s:%s, apparently "
> +		       "no board specific flash chip write enable is needed.\n",
> +		       vendor, part);
> +	} else {
> +		printf("\nUnknown vendor:board from -m option: %s:%s\n\n",
> +		       vendor, part);
> +	}
>  	return NULL;
>  }
>   

Can we get a method to make the coreboot table case not output any odd
technical message at all?

Stefan


-- 
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/
Registergericht: Amtsgericht Freiburg • HRB 7656
Geschäftsführer: Stefan Reinauer • Ust-IdNr.: DE245674866





More information about the flashrom mailing list