summaryrefslogtreecommitdiff
path: root/src/northbridge
diff options
context:
space:
mode:
Diffstat (limited to 'src/northbridge')
-rw-r--r--src/northbridge/amd/amdfam10/northbridge.c6
-rw-r--r--src/northbridge/amd/amdht/h3finit.h38
-rw-r--r--src/northbridge/amd/pi/agesawrapper_call.h2
-rw-r--r--src/northbridge/intel/fsp_sandybridge/raminit.c2
-rw-r--r--src/northbridge/intel/haswell/raminit.c2
-rw-r--r--src/northbridge/intel/sandybridge/raminit_mrc.c2
6 files changed, 27 insertions, 25 deletions
diff --git a/src/northbridge/amd/amdfam10/northbridge.c b/src/northbridge/amd/amdfam10/northbridge.c
index 31c339aeab..ff4f0a397a 100644
--- a/src/northbridge/amd/amdfam10/northbridge.c
+++ b/src/northbridge/amd/amdfam10/northbridge.c
@@ -1040,7 +1040,8 @@ static void amdfam10_domain_scan_bus(struct device *dev)
}
#if IS_ENABLED(CONFIG_GENERATE_SMBIOS_TABLES)
-static int amdfam10_get_smbios_data16(int* count, int handle, unsigned long *current)
+static int amdfam10_get_smbios_data16(int *count, int handle,
+ unsigned long *current)
{
struct amdmct_memory_info *mem_info;
mem_info = cbmem_find(CBMEM_ID_AMDMCT_MEMINFO);
@@ -1145,7 +1146,8 @@ static uint16_t amdmct_mct_speed_enum_to_mhz(uint8_t speed)
}
}
-static int amdfam10_get_smbios_data17(int* count, int handle, int parent_handle, unsigned long *current)
+static int amdfam10_get_smbios_data17(int *count, int handle, int parent_handle,
+ unsigned long *current)
{
struct amdmct_memory_info *mem_info;
mem_info = cbmem_find(CBMEM_ID_AMDMCT_MEMINFO);
diff --git a/src/northbridge/amd/amdht/h3finit.h b/src/northbridge/amd/amdht/h3finit.h
index 45ed3c180c..743ae97065 100644
--- a/src/northbridge/amd/amdht/h3finit.h
+++ b/src/northbridge/amd/amdht/h3finit.h
@@ -168,7 +168,7 @@ typedef struct {
* @param[in] u8 node = The node on which this chain is located
* @param[in] u8 link = The link on the host for this chain
* @param[out] u8 secBus = Secondary Bus number for this non-coherent chain
- * @param[out] u8* subBus = Subordinate Bus number
+ * @param[out] u8 *subBus = Subordinate Bus number
* @param[out] BOOL result = true this routine is supplying the bus numbers
* false use auto Bus numbering
*
@@ -194,7 +194,7 @@ typedef struct {
* Parameters:
* @param[in] u8 node = The node on which this chain is located
* @param[in] u8 link = The link on the host for this chain
- * @param[out] u8** list = supply a pointer to a list
+ * @param[out] u8 **list = supply a pointer to a list
* @param[out] BOOL result = true to use a manual list
* false to initialize the link automatically
*
@@ -226,10 +226,10 @@ typedef struct {
* @param[in] u8 Dev = The Device's PCI device Number
* @param[in] u32 DevVenID = The Device's PCI Vendor + Device ID (offset 0x00)
* @param[in] u8 Link = The Device's link number (0 or 1)
- * @param[in,out] u8* LinkWidthIn = modify to change the Link Witdh In
- * @param[in,out] u8* LinkWidthOut = modify to change the Link Witdh Out
- * @param[in,out] u32* FreqCap = modify to change the link's frequency capability
- * @param[in,out] u32* FeatureCap = modify to change the link's feature capability
+ * @param[in,out] u8 *LinkWidthIn = modify to change the Link Witdh In
+ * @param[in,out] u8 *LinkWidthOut = modify to change the Link Witdh Out
+ * @param[in,out] u32 *FreqCap = modify to change the link's frequency capability
+ * @param[in,out] u32 *FeatureCap = modify to change the link's feature capability
*
* ---------------------------------------------------------------------------------------
*/
@@ -266,9 +266,9 @@ typedef struct {
* @param[in] u8 linkA = The link on this node
* @param[in] u8 nodeB = The other node on which this link is located
* @param[in] u8 linkB = The link on that node
- * @param[in,out] u8* ABLinkWidthLimit = modify to change the Link Witdh In
- * @param[in,out] u8* BALinkWidthLimit = modify to change the Link Witdh Out
- * @param[in,out] u32* PCBFreqCap = modify to change the link's frequency capability
+ * @param[in,out] u8 *ABLinkWidthLimit = modify to change the Link Witdh In
+ * @param[in,out] u8 *BALinkWidthLimit = modify to change the Link Witdh Out
+ * @param[in,out] u32 *PCBFreqCap = modify to change the link's frequency capability
*
* ---------------------------------------------------------------------------------------
*/
@@ -299,9 +299,9 @@ typedef struct {
* @param[in] u8 hostNode = The node on which this link is located
* @param[in] u8 hostLink = The link about to be initialized
* @param[in] u8 Depth = The depth in the I/O chain from the Host
- * @param[in,out] u8* DownstreamLinkWidthLimit = modify to change the Link Witdh In
- * @param[in,out] u8* UpstreamLinkWidthLimit = modify to change the Link Witdh Out
- * @param[in,out] u32* PCBFreqCap = modify to change the link's frequency capability
+ * @param[in,out] u8 *DownstreamLinkWidthLimit = modify to change the Link Witdh In
+ * @param[in,out] u8 *UpstreamLinkWidthLimit = modify to change the Link Witdh Out
+ * @param[in,out] u32 *PCBFreqCap = modify to change the link's frequency capability
*
* ---------------------------------------------------------------------------------------
*/
@@ -400,9 +400,9 @@ typedef struct {
* @param[in] u8 hostLink = The link about to be initialized
* @param[in] u8 Depth = The depth in the I/O chain from the Host
* @param[in] u8 Link = the link on the device (0 or 1)
- * @param[in,out] u8* LinkWidthIn = modify to change the Link Witdh In
- * @param[in,out] u8* LinkWidthOut = modify to change the Link Witdh Out
- * @param[in,out] u16* LinkFrequency = modify to change the link's frequency capability
+ * @param[in,out] u8 *LinkWidthIn = modify to change the Link Witdh In
+ * @param[in,out] u8 *LinkWidthOut = modify to change the Link Witdh Out
+ * @param[in,out] u16 *LinkFrequency = modify to change the link's frequency capability
*
* ---------------------------------------------------------------------------------------
*/
@@ -431,9 +431,9 @@ typedef struct {
* Parameters:
* @param[in] u8 node = One node on which this link is located
* @param[in] u8 link = The link on this node
- * @param[in,out] u8* LinkWidthIn = modify to change the Link Witdh In
- * @param[in,out] u8* LinkWidthOut = modify to change the Link Witdh Out
- * @param[in,out] u16* LinkFrequency = modify to change the link's frequency capability
+ * @param[in,out] u8 *LinkWidthIn = modify to change the Link Witdh In
+ * @param[in,out] u8 *LinkWidthOut = modify to change the Link Witdh Out
+ * @param[in,out] u16 *LinkFrequency = modify to change the link's frequency capability
*
*---------------------------------------------------------------------------------------
*/
@@ -459,7 +459,7 @@ typedef struct {
* Parameters:
* @param[in] u8 evtClass = What level event is this
* @param[in] u16 event = A unique ID of this event
- * @param[in] u8* pEventData0 = useful data associated with the event.
+ * @param[in] u8 *pEventData0 = useful data associated with the event.
*
* ---------------------------------------------------------------------------------------
*/
diff --git a/src/northbridge/amd/pi/agesawrapper_call.h b/src/northbridge/amd/pi/agesawrapper_call.h
index 15b90986c2..1ed4a4c796 100644
--- a/src/northbridge/amd/pi/agesawrapper_call.h
+++ b/src/northbridge/amd/pi/agesawrapper_call.h
@@ -32,7 +32,7 @@
*/
static const char * decodeAGESA_STATUS(AGESA_STATUS sret)
{
- const char* statusStrings[] = { "AGESA_SUCCESS", "AGESA_UNSUPPORTED",
+ const char *statusStrings[] = { "AGESA_SUCCESS", "AGESA_UNSUPPORTED",
"AGESA_BOUNDS_CHK", "AGESA_ALERT",
"AGESA_WARNING", "AGESA_ERROR",
"AGESA_CRITICAL", "AGESA_FATAL"
diff --git a/src/northbridge/intel/fsp_sandybridge/raminit.c b/src/northbridge/intel/fsp_sandybridge/raminit.c
index 7cc61aeebe..f67d405224 100644
--- a/src/northbridge/intel/fsp_sandybridge/raminit.c
+++ b/src/northbridge/intel/fsp_sandybridge/raminit.c
@@ -21,7 +21,7 @@
#include "raminit.h"
#include "northbridge.h"
-static const char* ecc_decoder[] = {
+static const char *ecc_decoder[] = {
"inactive",
"active on IO",
"disabled on IO",
diff --git a/src/northbridge/intel/haswell/raminit.c b/src/northbridge/intel/haswell/raminit.c
index e5e2b93cab..55a7339d4e 100644
--- a/src/northbridge/intel/haswell/raminit.c
+++ b/src/northbridge/intel/haswell/raminit.c
@@ -62,7 +62,7 @@ static void prepare_mrc_cache(struct pei_data *pei_data)
__func__, pei_data->mrc_input, pei_data->mrc_input_len);
}
-static const char* ecc_decoder[] = {
+static const char *ecc_decoder[] = {
"inactive",
"active on IO",
"disabled on IO",
diff --git a/src/northbridge/intel/sandybridge/raminit_mrc.c b/src/northbridge/intel/sandybridge/raminit_mrc.c
index 61f761e117..691452ca43 100644
--- a/src/northbridge/intel/sandybridge/raminit_mrc.c
+++ b/src/northbridge/intel/sandybridge/raminit_mrc.c
@@ -130,7 +130,7 @@ static void prepare_mrc_cache(struct pei_data *pei_data)
__func__, pei_data->mrc_input, pei_data->mrc_input_len);
}
-static const char* ecc_decoder[] = {
+static const char *ecc_decoder[] = {
"inactive",
"active on IO",
"disabled on IO",