mb/*/BiosCallOuts.c: Fix unused variable
This fixes clang builds. Change-Id: Ie09fae149a9530ad45f0cd5945e73f46484ef385 Signed-off-by: Arthur Heymans <arthur@aheymans.xyz> Reviewed-on: https://review.coreboot.org/c/coreboot/+/63055 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Elyes Haouas <ehaouas@noos.fr>
This commit is contained in:
parent
ee1641f066
commit
f128adda88
|
@ -28,13 +28,11 @@ const int BiosCalloutsLen = ARRAY_SIZE(BiosCallouts);
|
|||
static AGESA_STATUS board_BeforeDramInit (UINT32 Func, UINTN Data, VOID *ConfigPtr)
|
||||
{
|
||||
AGESA_STATUS Status;
|
||||
UINTN FcnData;
|
||||
MEM_DATA_STRUCT *MemData;
|
||||
UINT32 GpioMmioAddr;
|
||||
UINT8 Data8;
|
||||
UINT8 TempData8;
|
||||
|
||||
FcnData = Data;
|
||||
MemData = ConfigPtr;
|
||||
|
||||
Status = AGESA_SUCCESS;
|
||||
|
@ -101,13 +99,11 @@ static AGESA_STATUS board_BeforeDramInit (UINT32 Func, UINTN Data, VOID *ConfigP
|
|||
static AGESA_STATUS board_GnbPcieSlotReset (UINT32 Func, UINTN Data, VOID *ConfigPtr)
|
||||
{
|
||||
AGESA_STATUS Status;
|
||||
UINTN FcnData;
|
||||
PCIe_SLOT_RESET_INFO *ResetInfo;
|
||||
|
||||
UINT32 GpioMmioAddr;
|
||||
UINT8 Data8;
|
||||
|
||||
FcnData = Data;
|
||||
ResetInfo = ConfigPtr;
|
||||
GpioMmioAddr = (uintptr_t)acpimmio_gpio_100;
|
||||
Status = AGESA_UNSUPPORTED;
|
||||
|
|
|
@ -36,13 +36,11 @@ static AGESA_STATUS board_BeforeDramInit (UINT32 Func, UINTN Data, VOID *ConfigP
|
|||
static AGESA_STATUS board_GnbPcieSlotReset (UINT32 Func, UINTN Data, VOID *ConfigPtr)
|
||||
{
|
||||
AGESA_STATUS Status;
|
||||
UINTN FcnData;
|
||||
PCIe_SLOT_RESET_INFO *ResetInfo;
|
||||
|
||||
UINT32 GpioMmioAddr;
|
||||
UINT8 Data8;
|
||||
|
||||
FcnData = Data;
|
||||
ResetInfo = ConfigPtr;
|
||||
Status = AGESA_UNSUPPORTED;
|
||||
GpioMmioAddr = (uintptr_t)acpimmio_gpio_100;
|
||||
|
|
|
@ -28,13 +28,11 @@ const int BiosCalloutsLen = ARRAY_SIZE(BiosCallouts);
|
|||
static AGESA_STATUS board_BeforeDramInit (UINT32 Func, UINTN Data, VOID *ConfigPtr)
|
||||
{
|
||||
AGESA_STATUS Status;
|
||||
UINTN FcnData;
|
||||
MEM_DATA_STRUCT *MemData;
|
||||
UINT32 GpioMmioAddr;
|
||||
UINT8 Data8;
|
||||
UINT8 TempData8;
|
||||
|
||||
FcnData = Data;
|
||||
MemData = ConfigPtr;
|
||||
|
||||
Status = AGESA_SUCCESS;
|
||||
|
@ -101,14 +99,12 @@ static AGESA_STATUS board_BeforeDramInit (UINT32 Func, UINTN Data, VOID *ConfigP
|
|||
static AGESA_STATUS board_GnbPcieSlotReset (UINT32 Func, UINTN Data, VOID *ConfigPtr)
|
||||
{
|
||||
AGESA_STATUS Status;
|
||||
UINTN FcnData;
|
||||
PCIe_SLOT_RESET_INFO *ResetInfo;
|
||||
UINT32 GpioMmioAddr;
|
||||
UINT8 Data8;
|
||||
|
||||
GpioMmioAddr = (uintptr_t)acpimmio_gpio_100;
|
||||
|
||||
FcnData = Data;
|
||||
ResetInfo = ConfigPtr;
|
||||
Status = AGESA_UNSUPPORTED;
|
||||
switch (ResetInfo->ResetId) {
|
||||
|
|
|
@ -28,13 +28,11 @@ const int BiosCalloutsLen = ARRAY_SIZE(BiosCallouts);
|
|||
static AGESA_STATUS board_BeforeDramInit (UINT32 Func, UINTN Data, VOID *ConfigPtr)
|
||||
{
|
||||
AGESA_STATUS Status;
|
||||
UINTN FcnData;
|
||||
MEM_DATA_STRUCT *MemData;
|
||||
UINT32 GpioMmioAddr;
|
||||
UINT8 Data8;
|
||||
UINT8 TempData8;
|
||||
|
||||
FcnData = Data;
|
||||
MemData = ConfigPtr;
|
||||
|
||||
Status = AGESA_SUCCESS;
|
||||
|
@ -101,14 +99,12 @@ static AGESA_STATUS board_BeforeDramInit (UINT32 Func, UINTN Data, VOID *ConfigP
|
|||
static AGESA_STATUS board_GnbPcieSlotReset (UINT32 Func, UINTN Data, VOID *ConfigPtr)
|
||||
{
|
||||
AGESA_STATUS Status;
|
||||
UINTN FcnData;
|
||||
PCIe_SLOT_RESET_INFO *ResetInfo;
|
||||
UINT32 GpioMmioAddr;
|
||||
UINT8 Data8;
|
||||
|
||||
GpioMmioAddr = (uintptr_t)acpimmio_gpio_100;
|
||||
|
||||
FcnData = Data;
|
||||
ResetInfo = ConfigPtr;
|
||||
Status = AGESA_UNSUPPORTED;
|
||||
switch (ResetInfo->ResetId) {
|
||||
|
|
|
@ -25,13 +25,11 @@ const int BiosCalloutsLen = ARRAY_SIZE(BiosCallouts);
|
|||
static AGESA_STATUS board_BeforeDramInit (UINT32 Func, UINTN Data, VOID *ConfigPtr)
|
||||
{
|
||||
AGESA_STATUS Status;
|
||||
UINTN FcnData;
|
||||
MEM_DATA_STRUCT *MemData;
|
||||
UINT32 GpioMmioAddr;
|
||||
UINT8 Data8;
|
||||
UINT8 TempData8;
|
||||
|
||||
FcnData = Data;
|
||||
MemData = ConfigPtr;
|
||||
|
||||
Status = AGESA_SUCCESS;
|
||||
|
|
|
@ -36,13 +36,11 @@ static AGESA_STATUS board_BeforeDramInit (UINT32 Func, UINTN Data, VOID *ConfigP
|
|||
static AGESA_STATUS board_GnbPcieSlotReset (UINT32 Func, UINTN Data, VOID *ConfigPtr)
|
||||
{
|
||||
AGESA_STATUS Status;
|
||||
UINTN FcnData;
|
||||
PCIe_SLOT_RESET_INFO *ResetInfo;
|
||||
|
||||
UINT32 GpioMmioAddr;
|
||||
UINT8 Data8;
|
||||
|
||||
FcnData = Data;
|
||||
ResetInfo = ConfigPtr;
|
||||
Status = AGESA_UNSUPPORTED;
|
||||
GpioMmioAddr = (uintptr_t)acpimmio_gpio_100;
|
||||
|
|
|
@ -39,13 +39,11 @@ static AGESA_STATUS board_BeforeDramInit (UINT32 Func, UINTN Data, VOID *ConfigP
|
|||
static AGESA_STATUS board_GnbPcieSlotReset (UINT32 Func, UINTN Data, VOID *ConfigPtr)
|
||||
{
|
||||
AGESA_STATUS Status;
|
||||
uint32_t FcnData;
|
||||
PCIe_SLOT_RESET_INFO *ResetInfo;
|
||||
|
||||
uint32_t GpioMmioAddr;
|
||||
uint8_t Data8;
|
||||
|
||||
FcnData = Data;
|
||||
ResetInfo = ConfigPtr;
|
||||
Status = AGESA_UNSUPPORTED;
|
||||
GpioMmioAddr = (uintptr_t)acpimmio_gpio_100;
|
||||
|
|
Loading…
Reference in New Issue