[LinuxBIOS] r2670 - in trunk/LinuxBIOSv2/src/mainboard: asus/p2b bitworks/ims densitron/dpx114 via/epia via/epia-m

Stefan Reinauer stepan at coresystems.de
Tue May 15 14:26:15 CEST 2007


>  static inline int spd_read_byte(unsigned device, unsigned address)
>  {
> -	uint8_t c;
> -	c = smbus_read_byte(device, address);
> -	return c;
> +	return smbus_read_byte(device, address);
>  }

Did you compare the assembler code produced by romcc, verifying that
this has no bad impact?

-- 
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 coreboot mailing list