Remove inline from FAM10 CPU initialization functions.
This doesn't save any space for me but it is the right thing to allow GCC to optimize. Signed-off-by: Marc Jones <marc.jones@amd.com> Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3266 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
@@ -102,7 +102,7 @@ static void memreset(int controllers, const struct mem_controller *ctrl)
|
||||
}
|
||||
|
||||
|
||||
static inline void activate_spd_rom(const struct mem_controller *ctrl)
|
||||
static void activate_spd_rom(const struct mem_controller *ctrl)
|
||||
{
|
||||
#define SMBUS_HUB 0x18
|
||||
int ret,i;
|
||||
@@ -119,7 +119,7 @@ static inline void activate_spd_rom(const struct mem_controller *ctrl)
|
||||
}
|
||||
|
||||
|
||||
static inline int spd_read_byte(u32 device, u32 address)
|
||||
static int spd_read_byte(u32 device, u32 address)
|
||||
{
|
||||
int result;
|
||||
result = smbus_read_byte(device, address);
|
||||
|
Reference in New Issue
Block a user