Edward O'Callaghan (eocallaghan@alterapraxis.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/6183
-gerrit
commit c95a06c94a9e6b2f91c7f0b0f282a53f2fba1ed2 Author: Edward O'Callaghan eocallaghan@alterapraxis.com Date: Sat Jul 5 19:35:17 2014 +1000
AGESA: No need to shout VOID in agesawrapper
Change-Id: I9a8a310d5f0df7a514c370fec3cbf23f9675bd63 Signed-off-by: Edward O'Callaghan eocallaghan@alterapraxis.com --- src/mainboard/amd/dinar/agesawrapper.c | 4 ++-- src/mainboard/amd/olivehill/agesawrapper.c | 10 +++++----- src/mainboard/amd/olivehill/agesawrapper.h | 10 +++++----- src/mainboard/amd/parmer/agesawrapper.c | 10 +++++----- src/mainboard/amd/parmer/agesawrapper.h | 10 +++++----- src/mainboard/amd/thatcher/agesawrapper.c | 10 +++++----- src/mainboard/amd/thatcher/agesawrapper.h | 10 +++++----- src/mainboard/asrock/imb-a180/agesawrapper.c | 10 +++++----- src/mainboard/asrock/imb-a180/agesawrapper.h | 10 +++++----- src/mainboard/asus/f2a85-m/agesawrapper.c | 10 +++++----- src/mainboard/asus/f2a85-m/agesawrapper.h | 10 +++++----- src/mainboard/hp/pavilion_m6_1035dx/agesawrapper.c | 10 +++++----- src/mainboard/hp/pavilion_m6_1035dx/agesawrapper.h | 10 +++++----- src/mainboard/supermicro/h8qgi/agesawrapper.c | 16 ++++++++-------- src/mainboard/supermicro/h8scm/agesawrapper.c | 16 ++++++++-------- src/mainboard/tyan/s8226/agesawrapper.c | 14 +++++++------- 16 files changed, 85 insertions(+), 85 deletions(-)
diff --git a/src/mainboard/amd/dinar/agesawrapper.c b/src/mainboard/amd/dinar/agesawrapper.c index 782512d..e561293 100644 --- a/src/mainboard/amd/dinar/agesawrapper.c +++ b/src/mainboard/amd/dinar/agesawrapper.c @@ -78,7 +78,7 @@ GetEndBusNum ( return Index; }
-static UINT32 amdinitcpuio(VOID) +static UINT32 amdinitcpuio(void) { AGESA_STATUS Status; UINT64 MsrReg; @@ -471,7 +471,7 @@ AGESA_STATUS agesawrapper_amdinitmid ( return status; }
-AGESA_STATUS agesawrapper_amdinitlate(VOID) +AGESA_STATUS agesawrapper_amdinitlate(void) { AGESA_STATUS Status; AMD_INTERFACE_PARAMS AmdParamStruct; diff --git a/src/mainboard/amd/olivehill/agesawrapper.c b/src/mainboard/amd/olivehill/agesawrapper.c index f4ea628..4009838 100644 --- a/src/mainboard/amd/olivehill/agesawrapper.c +++ b/src/mainboard/amd/olivehill/agesawrapper.c @@ -417,7 +417,7 @@ AGESA_STATUS agesawrapper_amdlaterunaptask ( }
-AGESA_STATUS agesawrapper_amdinitresume(VOID) +AGESA_STATUS agesawrapper_amdinitresume(void) { AGESA_STATUS status; AMD_INTERFACE_PARAMS AmdParamStruct; @@ -455,7 +455,7 @@ AGESA_STATUS agesawrapper_amdinitresume(VOID) }
#ifndef __PRE_RAM__ -AGESA_STATUS agesawrapper_fchs3earlyrestore (VOID) +AGESA_STATUS agesawrapper_fchs3earlyrestore (void) { AGESA_STATUS status = AGESA_SUCCESS;
@@ -478,7 +478,7 @@ AGESA_STATUS agesawrapper_fchs3earlyrestore (VOID) } #endif
-AGESA_STATUS agesawrapper_amds3laterestore (VOID) +AGESA_STATUS agesawrapper_amds3laterestore (void) { AGESA_STATUS Status; AMD_INTERFACE_PARAMS AmdInterfaceParams; @@ -521,7 +521,7 @@ AGESA_STATUS agesawrapper_amds3laterestore (VOID)
extern UINT8 picr_data[0x54], intr_data[0x54];
-AGESA_STATUS agesawrapper_fchs3laterestore (VOID) +AGESA_STATUS agesawrapper_fchs3laterestore (void) { AGESA_STATUS status = AGESA_SUCCESS;
@@ -557,7 +557,7 @@ AGESA_STATUS agesawrapper_fchs3laterestore (VOID)
#ifndef __PRE_RAM__
-AGESA_STATUS agesawrapper_amdS3Save(VOID) +AGESA_STATUS agesawrapper_amdS3Save(void) { AGESA_STATUS Status; AMD_S3SAVE_PARAMS *AmdS3SaveParamsPtr; diff --git a/src/mainboard/amd/olivehill/agesawrapper.h b/src/mainboard/amd/olivehill/agesawrapper.h index f826d80..038895a 100644 --- a/src/mainboard/amd/olivehill/agesawrapper.h +++ b/src/mainboard/amd/olivehill/agesawrapper.h @@ -51,11 +51,11 @@ AGESA_STATUS agesawrapper_amdinitmmio (void); AGESA_STATUS agesawrapper_amdinitcpuio (void); void *agesawrapper_getlateinitptr (int pick); AGESA_STATUS agesawrapper_amdlaterunaptask (UINT32 Func, UINT32 Data, void *ConfigPtr); -AGESA_STATUS agesawrapper_amdS3Save(VOID); -AGESA_STATUS agesawrapper_amdinitresume (VOID); -AGESA_STATUS agesawrapper_amds3laterestore (VOID); +AGESA_STATUS agesawrapper_amdS3Save(void); +AGESA_STATUS agesawrapper_amdinitresume (void); +AGESA_STATUS agesawrapper_amds3laterestore (void);
-AGESA_STATUS agesawrapper_fchs3earlyrestore (VOID); -AGESA_STATUS agesawrapper_fchs3laterestore (VOID); +AGESA_STATUS agesawrapper_fchs3earlyrestore (void); +AGESA_STATUS agesawrapper_fchs3laterestore (void);
#endif /* _AGESAWRAPPER_H_ */ diff --git a/src/mainboard/amd/parmer/agesawrapper.c b/src/mainboard/amd/parmer/agesawrapper.c index c011242..a56d267 100644 --- a/src/mainboard/amd/parmer/agesawrapper.c +++ b/src/mainboard/amd/parmer/agesawrapper.c @@ -418,7 +418,7 @@ AGESA_STATUS agesawrapper_amdlaterunaptask ( }
-AGESA_STATUS agesawrapper_amdinitresume(VOID) +AGESA_STATUS agesawrapper_amdinitresume(void) { AGESA_STATUS status; AMD_INTERFACE_PARAMS AmdParamStruct; @@ -456,7 +456,7 @@ AGESA_STATUS agesawrapper_amdinitresume(VOID) }
#ifndef __PRE_RAM__ -AGESA_STATUS agesawrapper_fchs3earlyrestore (VOID) +AGESA_STATUS agesawrapper_fchs3earlyrestore (void) { AGESA_STATUS status = AGESA_SUCCESS;
@@ -480,7 +480,7 @@ AGESA_STATUS agesawrapper_fchs3earlyrestore (VOID) } #endif
-AGESA_STATUS agesawrapper_amds3laterestore (VOID) +AGESA_STATUS agesawrapper_amds3laterestore (void) { AGESA_STATUS Status; AMD_INTERFACE_PARAMS AmdInterfaceParams; @@ -523,7 +523,7 @@ AGESA_STATUS agesawrapper_amds3laterestore (VOID)
extern UINT8 picr_data[0x54], intr_data[0x54];
-AGESA_STATUS agesawrapper_fchs3laterestore (VOID) +AGESA_STATUS agesawrapper_fchs3laterestore (void) { AGESA_STATUS status = AGESA_SUCCESS;
@@ -560,7 +560,7 @@ AGESA_STATUS agesawrapper_fchs3laterestore (VOID)
#ifndef __PRE_RAM__
-AGESA_STATUS agesawrapper_amdS3Save(VOID) +AGESA_STATUS agesawrapper_amdS3Save(void) { AGESA_STATUS Status; AMD_S3SAVE_PARAMS *AmdS3SaveParamsPtr; diff --git a/src/mainboard/amd/parmer/agesawrapper.h b/src/mainboard/amd/parmer/agesawrapper.h index f826d80..038895a 100644 --- a/src/mainboard/amd/parmer/agesawrapper.h +++ b/src/mainboard/amd/parmer/agesawrapper.h @@ -51,11 +51,11 @@ AGESA_STATUS agesawrapper_amdinitmmio (void); AGESA_STATUS agesawrapper_amdinitcpuio (void); void *agesawrapper_getlateinitptr (int pick); AGESA_STATUS agesawrapper_amdlaterunaptask (UINT32 Func, UINT32 Data, void *ConfigPtr); -AGESA_STATUS agesawrapper_amdS3Save(VOID); -AGESA_STATUS agesawrapper_amdinitresume (VOID); -AGESA_STATUS agesawrapper_amds3laterestore (VOID); +AGESA_STATUS agesawrapper_amdS3Save(void); +AGESA_STATUS agesawrapper_amdinitresume (void); +AGESA_STATUS agesawrapper_amds3laterestore (void);
-AGESA_STATUS agesawrapper_fchs3earlyrestore (VOID); -AGESA_STATUS agesawrapper_fchs3laterestore (VOID); +AGESA_STATUS agesawrapper_fchs3earlyrestore (void); +AGESA_STATUS agesawrapper_fchs3laterestore (void);
#endif /* _AGESAWRAPPER_H_ */ diff --git a/src/mainboard/amd/thatcher/agesawrapper.c b/src/mainboard/amd/thatcher/agesawrapper.c index 74a2321..ab5e775 100644 --- a/src/mainboard/amd/thatcher/agesawrapper.c +++ b/src/mainboard/amd/thatcher/agesawrapper.c @@ -415,7 +415,7 @@ AGESA_STATUS agesawrapper_amdlaterunaptask ( }
-AGESA_STATUS agesawrapper_amdinitresume(VOID) +AGESA_STATUS agesawrapper_amdinitresume(void) { AGESA_STATUS status; AMD_INTERFACE_PARAMS AmdParamStruct; @@ -455,7 +455,7 @@ AGESA_STATUS agesawrapper_amdinitresume(VOID) }
#ifndef __PRE_RAM__ -AGESA_STATUS agesawrapper_fchs3earlyrestore (VOID) +AGESA_STATUS agesawrapper_fchs3earlyrestore (void) { AGESA_STATUS status = AGESA_SUCCESS;
@@ -478,7 +478,7 @@ AGESA_STATUS agesawrapper_fchs3earlyrestore (VOID) } #endif
-AGESA_STATUS agesawrapper_amds3laterestore (VOID) +AGESA_STATUS agesawrapper_amds3laterestore (void) { AGESA_STATUS Status; AMD_INTERFACE_PARAMS AmdInterfaceParams; @@ -523,7 +523,7 @@ AGESA_STATUS agesawrapper_amds3laterestore (VOID)
extern UINT8 picr_data[0x54], intr_data[0x54];
-AGESA_STATUS agesawrapper_fchs3laterestore (VOID) +AGESA_STATUS agesawrapper_fchs3laterestore (void) { AGESA_STATUS status = AGESA_SUCCESS;
@@ -559,7 +559,7 @@ AGESA_STATUS agesawrapper_fchs3laterestore (VOID)
#ifndef __PRE_RAM__
-AGESA_STATUS agesawrapper_amdS3Save(VOID) +AGESA_STATUS agesawrapper_amdS3Save(void) { AGESA_STATUS Status; AMD_S3SAVE_PARAMS *AmdS3SaveParamsPtr; diff --git a/src/mainboard/amd/thatcher/agesawrapper.h b/src/mainboard/amd/thatcher/agesawrapper.h index f826d80..038895a 100644 --- a/src/mainboard/amd/thatcher/agesawrapper.h +++ b/src/mainboard/amd/thatcher/agesawrapper.h @@ -51,11 +51,11 @@ AGESA_STATUS agesawrapper_amdinitmmio (void); AGESA_STATUS agesawrapper_amdinitcpuio (void); void *agesawrapper_getlateinitptr (int pick); AGESA_STATUS agesawrapper_amdlaterunaptask (UINT32 Func, UINT32 Data, void *ConfigPtr); -AGESA_STATUS agesawrapper_amdS3Save(VOID); -AGESA_STATUS agesawrapper_amdinitresume (VOID); -AGESA_STATUS agesawrapper_amds3laterestore (VOID); +AGESA_STATUS agesawrapper_amdS3Save(void); +AGESA_STATUS agesawrapper_amdinitresume (void); +AGESA_STATUS agesawrapper_amds3laterestore (void);
-AGESA_STATUS agesawrapper_fchs3earlyrestore (VOID); -AGESA_STATUS agesawrapper_fchs3laterestore (VOID); +AGESA_STATUS agesawrapper_fchs3earlyrestore (void); +AGESA_STATUS agesawrapper_fchs3laterestore (void);
#endif /* _AGESAWRAPPER_H_ */ diff --git a/src/mainboard/asrock/imb-a180/agesawrapper.c b/src/mainboard/asrock/imb-a180/agesawrapper.c index fcb9827..167440a 100644 --- a/src/mainboard/asrock/imb-a180/agesawrapper.c +++ b/src/mainboard/asrock/imb-a180/agesawrapper.c @@ -446,7 +446,7 @@ AGESA_STATUS agesawrapper_amdlaterunaptask ( }
-AGESA_STATUS agesawrapper_amdinitresume(VOID) +AGESA_STATUS agesawrapper_amdinitresume(void) { AGESA_STATUS status; AMD_INTERFACE_PARAMS AmdParamStruct; @@ -484,7 +484,7 @@ AGESA_STATUS agesawrapper_amdinitresume(VOID) }
#ifndef __PRE_RAM__ -AGESA_STATUS agesawrapper_fchs3earlyrestore (VOID) +AGESA_STATUS agesawrapper_fchs3earlyrestore (void) { AGESA_STATUS status = AGESA_SUCCESS;
@@ -507,7 +507,7 @@ AGESA_STATUS agesawrapper_fchs3earlyrestore (VOID) } #endif
-AGESA_STATUS agesawrapper_amds3laterestore (VOID) +AGESA_STATUS agesawrapper_amds3laterestore (void) { AGESA_STATUS Status; AMD_INTERFACE_PARAMS AmdInterfaceParams; @@ -550,7 +550,7 @@ AGESA_STATUS agesawrapper_amds3laterestore (VOID)
extern UINT8 picr_data[0x54], intr_data[0x54];
-AGESA_STATUS agesawrapper_fchs3laterestore (VOID) +AGESA_STATUS agesawrapper_fchs3laterestore (void) { AGESA_STATUS status = AGESA_SUCCESS;
@@ -586,7 +586,7 @@ AGESA_STATUS agesawrapper_fchs3laterestore (VOID)
#ifndef __PRE_RAM__
-AGESA_STATUS agesawrapper_amdS3Save(VOID) +AGESA_STATUS agesawrapper_amdS3Save(void) { AGESA_STATUS Status; AMD_S3SAVE_PARAMS *AmdS3SaveParamsPtr; diff --git a/src/mainboard/asrock/imb-a180/agesawrapper.h b/src/mainboard/asrock/imb-a180/agesawrapper.h index 60ec551..97cb8c5 100644 --- a/src/mainboard/asrock/imb-a180/agesawrapper.h +++ b/src/mainboard/asrock/imb-a180/agesawrapper.h @@ -80,11 +80,11 @@ AGESA_STATUS agesawrapper_amdinitmmio (void); AGESA_STATUS agesawrapper_amdinitcpuio (void); void *agesawrapper_getlateinitptr (int pick); AGESA_STATUS agesawrapper_amdlaterunaptask (UINT32 Func, UINT32 Data, void *ConfigPtr); -AGESA_STATUS agesawrapper_amdS3Save(VOID); -AGESA_STATUS agesawrapper_amdinitresume (VOID); -AGESA_STATUS agesawrapper_amds3laterestore (VOID); +AGESA_STATUS agesawrapper_amdS3Save(void); +AGESA_STATUS agesawrapper_amdinitresume (void); +AGESA_STATUS agesawrapper_amds3laterestore (void);
-AGESA_STATUS agesawrapper_fchs3earlyrestore (VOID); -AGESA_STATUS agesawrapper_fchs3laterestore (VOID); +AGESA_STATUS agesawrapper_fchs3earlyrestore (void); +AGESA_STATUS agesawrapper_fchs3laterestore (void);
#endif diff --git a/src/mainboard/asus/f2a85-m/agesawrapper.c b/src/mainboard/asus/f2a85-m/agesawrapper.c index 46d24ad..33bb5fd 100644 --- a/src/mainboard/asus/f2a85-m/agesawrapper.c +++ b/src/mainboard/asus/f2a85-m/agesawrapper.c @@ -430,7 +430,7 @@ AGESA_STATUS agesawrapper_amdlaterunaptask ( }
-AGESA_STATUS agesawrapper_amdinitresume(VOID) +AGESA_STATUS agesawrapper_amdinitresume(void) { AGESA_STATUS status; AMD_INTERFACE_PARAMS AmdParamStruct; @@ -470,7 +470,7 @@ AGESA_STATUS agesawrapper_amdinitresume(VOID) }
#ifndef __PRE_RAM__ -AGESA_STATUS agesawrapper_fchs3earlyrestore (VOID) +AGESA_STATUS agesawrapper_fchs3earlyrestore (void) { AGESA_STATUS status = AGESA_SUCCESS;
@@ -493,7 +493,7 @@ AGESA_STATUS agesawrapper_fchs3earlyrestore (VOID) } #endif
-AGESA_STATUS agesawrapper_amds3laterestore (VOID) +AGESA_STATUS agesawrapper_amds3laterestore (void) { AGESA_STATUS Status; AMD_INTERFACE_PARAMS AmdInterfaceParams; @@ -538,7 +538,7 @@ AGESA_STATUS agesawrapper_amds3laterestore (VOID)
extern UINT8 picr_data[0x54], intr_data[0x54];
-AGESA_STATUS agesawrapper_fchs3laterestore (VOID) +AGESA_STATUS agesawrapper_fchs3laterestore (void) { AGESA_STATUS status = AGESA_SUCCESS;
@@ -574,7 +574,7 @@ AGESA_STATUS agesawrapper_fchs3laterestore (VOID)
#ifndef __PRE_RAM__
-AGESA_STATUS agesawrapper_amdS3Save(VOID) +AGESA_STATUS agesawrapper_amdS3Save(void) { AGESA_STATUS Status; AMD_S3SAVE_PARAMS *AmdS3SaveParamsPtr; diff --git a/src/mainboard/asus/f2a85-m/agesawrapper.h b/src/mainboard/asus/f2a85-m/agesawrapper.h index 5294562..3db75e8 100644 --- a/src/mainboard/asus/f2a85-m/agesawrapper.h +++ b/src/mainboard/asus/f2a85-m/agesawrapper.h @@ -79,11 +79,11 @@ AGESA_STATUS agesawrapper_amdinitmmio (void); AGESA_STATUS agesawrapper_amdinitcpuio (void); void *agesawrapper_getlateinitptr (int pick); AGESA_STATUS agesawrapper_amdlaterunaptask (UINT32 Func, UINT32 Data, void *ConfigPtr); -AGESA_STATUS agesawrapper_amdS3Save(VOID); -AGESA_STATUS agesawrapper_amdinitresume (VOID); -AGESA_STATUS agesawrapper_amds3laterestore (VOID); +AGESA_STATUS agesawrapper_amdS3Save(void); +AGESA_STATUS agesawrapper_amdinitresume (void); +AGESA_STATUS agesawrapper_amds3laterestore (void);
-AGESA_STATUS agesawrapper_fchs3earlyrestore (VOID); -AGESA_STATUS agesawrapper_fchs3laterestore (VOID); +AGESA_STATUS agesawrapper_fchs3earlyrestore (void); +AGESA_STATUS agesawrapper_fchs3laterestore (void);
#endif diff --git a/src/mainboard/hp/pavilion_m6_1035dx/agesawrapper.c b/src/mainboard/hp/pavilion_m6_1035dx/agesawrapper.c index 1e010d2..1b5cc39 100644 --- a/src/mainboard/hp/pavilion_m6_1035dx/agesawrapper.c +++ b/src/mainboard/hp/pavilion_m6_1035dx/agesawrapper.c @@ -429,7 +429,7 @@ AGESA_STATUS agesawrapper_amdlaterunaptask ( }
-AGESA_STATUS agesawrapper_amdinitresume(VOID) +AGESA_STATUS agesawrapper_amdinitresume(void) { AGESA_STATUS status; AMD_INTERFACE_PARAMS AmdParamStruct; @@ -467,7 +467,7 @@ AGESA_STATUS agesawrapper_amdinitresume(VOID) }
#ifndef __PRE_RAM__ -AGESA_STATUS agesawrapper_fchs3earlyrestore (VOID) +AGESA_STATUS agesawrapper_fchs3earlyrestore (void) { AGESA_STATUS status = AGESA_SUCCESS;
@@ -491,7 +491,7 @@ AGESA_STATUS agesawrapper_fchs3earlyrestore (VOID) } #endif
-AGESA_STATUS agesawrapper_amds3laterestore (VOID) +AGESA_STATUS agesawrapper_amds3laterestore (void) { AGESA_STATUS Status; AMD_INTERFACE_PARAMS AmdInterfaceParams; @@ -534,7 +534,7 @@ AGESA_STATUS agesawrapper_amds3laterestore (VOID)
extern UINT8 picr_data[0x54], intr_data[0x54];
-AGESA_STATUS agesawrapper_fchs3laterestore (VOID) +AGESA_STATUS agesawrapper_fchs3laterestore (void) { AGESA_STATUS status = AGESA_SUCCESS;
@@ -571,7 +571,7 @@ AGESA_STATUS agesawrapper_fchs3laterestore (VOID)
#ifndef __PRE_RAM__
-AGESA_STATUS agesawrapper_amdS3Save(VOID) +AGESA_STATUS agesawrapper_amdS3Save(void) { AGESA_STATUS Status; AMD_S3SAVE_PARAMS *AmdS3SaveParamsPtr; diff --git a/src/mainboard/hp/pavilion_m6_1035dx/agesawrapper.h b/src/mainboard/hp/pavilion_m6_1035dx/agesawrapper.h index 96ed141..3c07e58 100644 --- a/src/mainboard/hp/pavilion_m6_1035dx/agesawrapper.h +++ b/src/mainboard/hp/pavilion_m6_1035dx/agesawrapper.h @@ -79,11 +79,11 @@ AGESA_STATUS agesawrapper_amdinitmmio (void); uint32_t agesawrapper_amdinitcpuio (void); void *agesawrapper_getlateinitptr (int pick); AGESA_STATUS agesawrapper_amdlaterunaptask (UINT32 Func, UINT32 Data, void *ConfigPtr); -AGESA_STATUS agesawrapper_amdS3Save(VOID); -AGESA_STATUS agesawrapper_amdinitresume (VOID); -AGESA_STATUS agesawrapper_amds3laterestore (VOID); +AGESA_STATUS agesawrapper_amdS3Save(void); +AGESA_STATUS agesawrapper_amdinitresume (void); +AGESA_STATUS agesawrapper_amds3laterestore (void);
-AGESA_STATUS agesawrapper_fchs3earlyrestore (VOID); -AGESA_STATUS agesawrapper_fchs3laterestore (VOID); +AGESA_STATUS agesawrapper_fchs3earlyrestore (void); +AGESA_STATUS agesawrapper_fchs3laterestore (void);
#endif diff --git a/src/mainboard/supermicro/h8qgi/agesawrapper.c b/src/mainboard/supermicro/h8qgi/agesawrapper.c index 24e3ee7..9002858 100644 --- a/src/mainboard/supermicro/h8qgi/agesawrapper.c +++ b/src/mainboard/supermicro/h8qgi/agesawrapper.c @@ -78,7 +78,7 @@ VOID *AcpiAlib = NULL; */ extern VOID OemCustomizeInitEarly(IN OUT AMD_EARLY_PARAMS *InitEarly);
-static AGESA_STATUS agesawrapper_amdinitcpuio(VOID) +static AGESA_STATUS agesawrapper_amdinitcpuio(void) { AGESA_STATUS Status; UINT32 PciData; @@ -172,7 +172,7 @@ static AGESA_STATUS agesawrapper_amdinitcpuio(VOID) return Status; }
-AGESA_STATUS agesawrapper_amdinitmmio(VOID) +AGESA_STATUS agesawrapper_amdinitmmio(void) { AGESA_STATUS Status; UINT64 MsrReg; @@ -202,7 +202,7 @@ AGESA_STATUS agesawrapper_amdinitmmio(VOID) return Status; }
-UINT32 agesawrapper_amdinitreset(VOID) +UINT32 agesawrapper_amdinitreset(void) { AGESA_STATUS status = AGESA_SUCCESS; AMD_INTERFACE_PARAMS AmdParamStruct; @@ -244,7 +244,7 @@ UINT32 agesawrapper_amdinitreset(VOID) return status; }
-AGESA_STATUS agesawrapper_amdinitearly(VOID) +AGESA_STATUS agesawrapper_amdinitearly(void) { AGESA_STATUS status; AMD_INTERFACE_PARAMS AmdParamStruct; @@ -283,7 +283,7 @@ AGESA_STATUS agesawrapper_amdinitearly(VOID) return status; }
-AGESA_STATUS agesawrapper_amdinitpost(VOID) +AGESA_STATUS agesawrapper_amdinitpost(void) { AGESA_STATUS status; AMD_INTERFACE_PARAMS AmdParamStruct; @@ -324,7 +324,7 @@ AGESA_STATUS agesawrapper_amdinitpost(VOID) return status; }
-AGESA_STATUS agesawrapper_amdinitenv(VOID) +AGESA_STATUS agesawrapper_amdinitenv(void) { AGESA_STATUS status; AMD_INTERFACE_PARAMS AmdParamStruct; @@ -382,7 +382,7 @@ VOID * agesawrapper_getlateinitptr(int pick) return NULL; }
-AGESA_STATUS agesawrapper_amdinitmid(VOID) +AGESA_STATUS agesawrapper_amdinitmid(void) { AGESA_STATUS status; AMD_INTERFACE_PARAMS AmdParamStruct; @@ -414,7 +414,7 @@ AGESA_STATUS agesawrapper_amdinitmid(VOID) return status; }
-AGESA_STATUS agesawrapper_amdinitlate(VOID) +AGESA_STATUS agesawrapper_amdinitlate(void) { AGESA_STATUS Status; AMD_INTERFACE_PARAMS AmdParamStruct; diff --git a/src/mainboard/supermicro/h8scm/agesawrapper.c b/src/mainboard/supermicro/h8scm/agesawrapper.c index 9679fd9..369cc93 100644 --- a/src/mainboard/supermicro/h8scm/agesawrapper.c +++ b/src/mainboard/supermicro/h8scm/agesawrapper.c @@ -78,7 +78,7 @@ VOID *AcpiAlib = NULL; */ extern VOID OemCustomizeInitEarly(IN OUT AMD_EARLY_PARAMS *InitEarly);
-static AGESA_STATUS agesawrapper_amdinitcpuio(VOID) +static AGESA_STATUS agesawrapper_amdinitcpuio(void) { AGESA_STATUS Status; UINT32 PciData; @@ -172,7 +172,7 @@ static AGESA_STATUS agesawrapper_amdinitcpuio(VOID) return Status; }
-AGESA_STATUS agesawrapper_amdinitmmio(VOID) +AGESA_STATUS agesawrapper_amdinitmmio(void) { AGESA_STATUS Status; UINT64 MsrReg; @@ -202,7 +202,7 @@ AGESA_STATUS agesawrapper_amdinitmmio(VOID) return Status; }
-UINT32 agesawrapper_amdinitreset(VOID) +UINT32 agesawrapper_amdinitreset(void) { AGESA_STATUS status = AGESA_SUCCESS; AMD_INTERFACE_PARAMS AmdParamStruct; @@ -244,7 +244,7 @@ UINT32 agesawrapper_amdinitreset(VOID) return status; }
-AGESA_STATUS agesawrapper_amdinitearly(VOID) +AGESA_STATUS agesawrapper_amdinitearly(void) { AGESA_STATUS status; AMD_INTERFACE_PARAMS AmdParamStruct; @@ -283,7 +283,7 @@ AGESA_STATUS agesawrapper_amdinitearly(VOID) return status; }
-AGESA_STATUS agesawrapper_amdinitpost(VOID) +AGESA_STATUS agesawrapper_amdinitpost(void) { AGESA_STATUS status; AMD_INTERFACE_PARAMS AmdParamStruct; @@ -324,7 +324,7 @@ AGESA_STATUS agesawrapper_amdinitpost(VOID) return status; }
-AGESA_STATUS agesawrapper_amdinitenv(VOID) +AGESA_STATUS agesawrapper_amdinitenv(void) { AGESA_STATUS status; AMD_INTERFACE_PARAMS AmdParamStruct; @@ -382,7 +382,7 @@ VOID * agesawrapper_getlateinitptr(int pick) return NULL; }
-AGESA_STATUS agesawrapper_amdinitmid(VOID) +AGESA_STATUS agesawrapper_amdinitmid(void) { AGESA_STATUS status; AMD_INTERFACE_PARAMS AmdParamStruct; @@ -414,7 +414,7 @@ AGESA_STATUS agesawrapper_amdinitmid(VOID) return status; }
-AGESA_STATUS agesawrapper_amdinitlate(VOID) +AGESA_STATUS agesawrapper_amdinitlate(void) { AGESA_STATUS Status; AMD_INTERFACE_PARAMS AmdParamStruct; diff --git a/src/mainboard/tyan/s8226/agesawrapper.c b/src/mainboard/tyan/s8226/agesawrapper.c index 9f622be..8869b0b 100644 --- a/src/mainboard/tyan/s8226/agesawrapper.c +++ b/src/mainboard/tyan/s8226/agesawrapper.c @@ -78,7 +78,7 @@ VOID *AcpiAlib = NULL; */ extern VOID OemCustomizeInitEarly(IN OUT AMD_EARLY_PARAMS *InitEarly);
-static AGESA_STATUS agesawrapper_amdinitcpuio(VOID) +static AGESA_STATUS agesawrapper_amdinitcpuio(void) { AGESA_STATUS Status; UINT32 PciData; @@ -211,7 +211,7 @@ AGESA_STATUS agesawrapper_amdinitmmio ( return Status; }
-UINT32 agesawrapper_amdinitreset(VOID) +UINT32 agesawrapper_amdinitreset(void) { AGESA_STATUS status = AGESA_SUCCESS; AMD_INTERFACE_PARAMS AmdParamStruct; @@ -253,7 +253,7 @@ UINT32 agesawrapper_amdinitreset(VOID) return status; }
-AGESA_STATUS agesawrapper_amdinitearly(VOID) +AGESA_STATUS agesawrapper_amdinitearly(void) { AGESA_STATUS status; AMD_INTERFACE_PARAMS AmdParamStruct; @@ -292,7 +292,7 @@ AGESA_STATUS agesawrapper_amdinitearly(VOID) return status; }
-AGESA_STATUS agesawrapper_amdinitpost(VOID) +AGESA_STATUS agesawrapper_amdinitpost(void) { AGESA_STATUS status; AMD_INTERFACE_PARAMS AmdParamStruct; @@ -333,7 +333,7 @@ AGESA_STATUS agesawrapper_amdinitpost(VOID) return status; }
-AGESA_STATUS agesawrapper_amdinitenv(VOID) +AGESA_STATUS agesawrapper_amdinitenv(void) { AGESA_STATUS status; AMD_INTERFACE_PARAMS AmdParamStruct; @@ -391,7 +391,7 @@ VOID * agesawrapper_getlateinitptr(int pick) return NULL; }
-AGESA_STATUS agesawrapper_amdinitmid(VOID) +AGESA_STATUS agesawrapper_amdinitmid(void) { AGESA_STATUS status; AMD_INTERFACE_PARAMS AmdParamStruct; @@ -423,7 +423,7 @@ AGESA_STATUS agesawrapper_amdinitmid(VOID) return status; }
-AGESA_STATUS agesawrapper_amdinitlate(VOID) +AGESA_STATUS agesawrapper_amdinitlate(void) { AGESA_STATUS Status; AMD_INTERFACE_PARAMS AmdParamStruct;