src/soc/amd/stoneyridge/southbridge.h: Fix prototypes
Some prototypes types don't match the actual function type, though there's no error message due to the types being alias. For clarity, types should match between prototypes and actual functions. BUG=b:68007655 Change-Id: I9573a68f7153dbbad2fc6551d5dab000760c871e Signed-off-by: Richard Spiegel <richard.spiegel@silverbackltd.com> Reviewed-on: https://review.coreboot.org/22288 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Marc Jones <marc@marcjonesconsulting.com> Reviewed-by: Martin Roth <martinroth@google.com>
This commit is contained in:
parent
eeb475c5c8
commit
cb01efcda1
|
@ -1,7 +1,7 @@
|
||||||
/*
|
/*
|
||||||
* This file is part of the coreboot project.
|
* This file is part of the coreboot project.
|
||||||
*
|
*
|
||||||
* Copyright (C) 2010 Advanced Micro Devices, Inc.
|
* Copyright (C) 2010-2017 Advanced Micro Devices, Inc.
|
||||||
* Copyright (C) 2014 Sage Electronic Engineering, LLC
|
* Copyright (C) 2014 Sage Electronic Engineering, LLC
|
||||||
*
|
*
|
||||||
* This program is free software; you can redistribute it and/or modify
|
* This program is free software; you can redistribute it and/or modify
|
||||||
|
@ -255,12 +255,12 @@ u32 pm_read32(u8 reg);
|
||||||
void pm_write8(u8 reg, u8 value);
|
void pm_write8(u8 reg, u8 value);
|
||||||
void pm_write16(u8 reg, u16 value);
|
void pm_write16(u8 reg, u16 value);
|
||||||
void pm_write32(u8 reg, u32 value);
|
void pm_write32(u8 reg, u32 value);
|
||||||
u8 smi_read8(u8 reg);
|
uint8_t smi_read8(uint8_t offset);
|
||||||
u16 smi_read16(u8 reg);
|
uint16_t smi_read16(uint8_t offset);
|
||||||
u32 smi_read32(u8 reg);
|
uint32_t smi_read32(uint8_t offset);
|
||||||
void smi_write8(u8 reg, u8 value);
|
void smi_write8(uint8_t offset, uint8_t value);
|
||||||
void smi_write16(u8 reg, u16 value);
|
void smi_write16(uint8_t offset, uint16_t value);
|
||||||
void smi_write32(u8 reg, u32 value);
|
void smi_write32(uint8_t offset, uint32_t value);
|
||||||
uint16_t pm_acpi_pm_cnt_blk(void);
|
uint16_t pm_acpi_pm_cnt_blk(void);
|
||||||
int s3_load_nvram_early(int size, u32 *old_dword, int nvram_pos);
|
int s3_load_nvram_early(int size, u32 *old_dword, int nvram_pos);
|
||||||
int s3_save_nvram_early(u32 dword, int size, int nvram_pos);
|
int s3_save_nvram_early(u32 dword, int size, int nvram_pos);
|
||||||
|
|
Loading…
Reference in New Issue