[coreboot] v3 compilation failures
Stefan Reinauer
stepan at coresystems.de
Mon Jan 28 14:30:09 CET 2008
* Marc Jones <marc.jones at amd.com> [080121 22:14]:
> Signed-off-by: Marc Jones <marc.jones at amd.com>
Acked-by: Stefan Reinauer <stepan at coresystems.de>
> Index: LinuxBIOSv3/southbridge/amd/cs5536/smbus_initram.c
> ===================================================================
> --- LinuxBIOSv3.orig/southbridge/amd/cs5536/smbus_initram.c 2008-01-11 15:35:37.000000000 -0700
> +++ LinuxBIOSv3/southbridge/amd/cs5536/smbus_initram.c 2008-01-11 15:57:06.000000000 -0700
> @@ -343,7 +343,7 @@
> * @param address The address.
> * @return The data from the SMBus packet area or an error of 0xff (i.e. -1).
> */
> -int spd_read_byte(u16 device, u8 address)
> +u8 spd_read_byte(u16 device, u8 address)
> {
> return smbus_read_byte(device, address);
> }
>
> Signed-off-by: Marc Jones <marc.jones at amd.com>
Acked-by: Stefan Reinauer <stepan at coresystems.de>
> Index: LinuxBIOSv3/include/lib.h
> ===================================================================
> --- LinuxBIOSv3.orig/include/lib.h 2008-01-11 15:52:52.000000000 -0700
> +++ LinuxBIOSv3/include/lib.h 2008-01-11 16:04:12.000000000 -0700
> @@ -36,11 +36,4 @@
> void beep_short(void);
> void beep_long(void);
>
> -/* smbus functions */
> -int smbus_read_byte(unsigned device, unsigned address);
> -
> -/* dram functions */
> -void ram_failure(const char *why);
> -void ram_initialize(int controllers, void *ctrl);
> -
> #endif /* LIB_H */
--
coresystems GmbH • Brahmsstr. 16 • D-79104 Freiburg i. Br.
Tel.: +49 761 7668825 • Fax: +49 761 7664613
Email: info at coresystems.de • http://www.coresystems.de/
Registergericht: Amtsgericht Freiburg • HRB 7656
Geschäftsführer: Stefan Reinauer • Ust-IdNr.: DE245674866
More information about the coreboot
mailing list