summaryrefslogtreecommitdiff
path: root/src/soc/intel/common
diff options
context:
space:
mode:
authorSubrata Banik <subrata.banik@intel.com>2019-11-14 11:08:51 +0530
committerPatrick Georgi <pgeorgi@google.com>2019-11-15 11:01:33 +0000
commit5885ffef326ff41b2bad80e42e1795a2982754b3 (patch)
tree074cb4a2044d57a8b636548107433b5b8e59369b /src/soc/intel/common
parent5aa0a53e5ff64e83f893a26153fb35cde4a05cd4 (diff)
downloadcoreboot-5885ffef326ff41b2bad80e42e1795a2982754b3.tar.xz
soc/intel/common: Make alignment proper for comments
Change-Id: If932582d03bb2f6d3d14c9bce45cf2030f3b3c4e Signed-off-by: Subrata Banik <subrata.banik@intel.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/36838 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: V Sowmya <v.sowmya@intel.com> Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr>
Diffstat (limited to 'src/soc/intel/common')
-rw-r--r--src/soc/intel/common/block/cpu/car/cache_as_ram.S2
-rw-r--r--src/soc/intel/common/block/include/intelblocks/xhci.h8
-rw-r--r--src/soc/intel/common/hda_verb.c14
3 files changed, 12 insertions, 12 deletions
diff --git a/src/soc/intel/common/block/cpu/car/cache_as_ram.S b/src/soc/intel/common/block/cpu/car/cache_as_ram.S
index 471c18e407..0992d85acd 100644
--- a/src/soc/intel/common/block/cpu/car/cache_as_ram.S
+++ b/src/soc/intel/common/block/cpu/car/cache_as_ram.S
@@ -177,7 +177,7 @@ car_init_done:
andl $0xfffffff0, %esp
sub $8, %esp
- /*push TSC value to stack*/
+ /* push TSC value to stack */
movd %mm2, %eax
pushl %eax /* tsc[63:32] */
movd %mm1, %eax
diff --git a/src/soc/intel/common/block/include/intelblocks/xhci.h b/src/soc/intel/common/block/include/intelblocks/xhci.h
index dd95bfb024..0b3aa050e1 100644
--- a/src/soc/intel/common/block/include/intelblocks/xhci.h
+++ b/src/soc/intel/common/block/include/intelblocks/xhci.h
@@ -18,7 +18,7 @@
#include <device/device.h>
-/**
+/*
* struct xhci_usb_info - Data containing number of USB ports & offset.
* @usb2_port_status_reg: Offset to USB2 port status register.
* @num_usb2_ports: Number of USB2 ports.
@@ -32,7 +32,7 @@ struct xhci_usb_info {
uint32_t num_usb3_ports;
};
-/**
+/*
* pch_xhci_update_wake_event() - Identify and log XHCI wake events.
* @info: Information about number of USB ports and their status reg offset.
*
@@ -46,7 +46,7 @@ bool pch_xhci_update_wake_event(const struct xhci_usb_info *info);
void soc_xhci_init(struct device *dev);
-/**
+/*
* soc_get_xhci_usb_info() - Get the information about USB2 & USB3 ports.
*
* This function is used to get USB ports and status register offset information
@@ -56,7 +56,7 @@ void soc_xhci_init(struct device *dev);
*/
const struct xhci_usb_info *soc_get_xhci_usb_info(void);
-/**
+/*
* usb_xhci_disable_unused() - Disable unused USB devices
* @ext_usb_xhci_en_cb: Callback function to be invoked, supplied by mainboard,
* to identify the status of externally visible USB ports.
diff --git a/src/soc/intel/common/hda_verb.c b/src/soc/intel/common/hda_verb.c
index 3edad9be1e..03a23dfe0a 100644
--- a/src/soc/intel/common/hda_verb.c
+++ b/src/soc/intel/common/hda_verb.c
@@ -20,7 +20,7 @@
#include <delay.h>
#include "hda_verb.h"
-/**
+/*
* Set bits in a register and wait for status
*/
static int set_bits(void *port, u32 mask, u32 val)
@@ -52,7 +52,7 @@ static int set_bits(void *port, u32 mask, u32 val)
return 0;
}
-/**
+/*
* Probe for supported codecs
*/
int hda_codec_detect(u8 *base)
@@ -95,7 +95,7 @@ no_codec:
return 0;
}
-/**
+/*
* Wait 50usec for the codec to indicate it is ready
* no response would imply that the codec is non-operative
*/
@@ -116,7 +116,7 @@ static int hda_wait_for_ready(u8 *base)
return -1;
}
-/**
+/*
* Wait 50usec for the codec to indicate that it accepted
* the previous command. No response would imply that the code
* is non-operative
@@ -145,7 +145,7 @@ static int hda_wait_for_valid(u8 *base)
return -1;
}
-/**
+/*
* Find a specific entry within a verb table
*
* @param verb_table_bytes: verb table size in bytes
@@ -190,7 +190,7 @@ static u32 hda_find_verb(u32 verb_table_bytes,
return 0;
}
-/**
+/*
* Write a supplied verb table
*/
int hda_codec_write(u8 *base, u32 size, const u32 *data)
@@ -210,7 +210,7 @@ int hda_codec_write(u8 *base, u32 size, const u32 *data)
return 0;
}
-/**
+/*
* Initialize codec, then find the verb table and write it
*/
int hda_codec_init(u8 *base, int addr, int verb_size, const u32 *verb_data)