summaryrefslogtreecommitdiffstats
path: root/src/include/device
diff options
context:
space:
mode:
authorLee Leahy <leroy.p.leahy@intel.com>2017-03-07 12:18:53 -0800
committerLee Leahy <leroy.p.leahy@intel.com>2017-03-09 17:18:42 +0100
commit708fc274b54dfd13fb83edae17cea9ead0a0f2be (patch)
tree12c20ab96d4dedcdb0224d37168d4f893513180b /src/include/device
parentbb4ae07417c9b3be1af500a62514a2d42467cfb0 (diff)
downloadcoreboot-708fc274b54dfd13fb83edae17cea9ead0a0f2be.tar.gz
coreboot-708fc274b54dfd13fb83edae17cea9ead0a0f2be.tar.bz2
coreboot-708fc274b54dfd13fb83edae17cea9ead0a0f2be.zip
src/include: Indent code using tabs
Fix the following error and warning detected by checkpatch.pl: ERROR: code indent should use tabs where possible WARNING: please, no spaces at the start of a line TEST=Build and run on Galileo Gen2 Change-Id: I487771b8f4d7e104457116b772cd32df5cd721a6 Signed-off-by: Lee Leahy <Leroy.P.Leahy@intel.com> Reviewed-on: https://review.coreboot.org/18646 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'src/include/device')
-rw-r--r--src/include/device/dram/ddr3.h4
-rw-r--r--src/include/device/i2c.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/include/device/dram/ddr3.h b/src/include/device/dram/ddr3.h
index bc9fca7495f2..ee20ba793a4d 100644
--- a/src/include/device/dram/ddr3.h
+++ b/src/include/device/dram/ddr3.h
@@ -204,8 +204,8 @@ int spd_decode_ddr3(dimm_attr * dimm, spd_raw_data spd_data);
int dimm_is_registered(enum spd_dimm_type type);
void dram_print_spd_ddr3(const dimm_attr * dimm);
int spd_xmp_decode_ddr3(dimm_attr * dimm,
- spd_raw_data spd,
- enum ddr3_xmp_profile profile);
+ spd_raw_data spd,
+ enum ddr3_xmp_profile profile);
/**
* \brief Read double word from specified address
diff --git a/src/include/device/i2c.h b/src/include/device/i2c.h
index 6316748b85b9..b3a5ccadd5fa 100644
--- a/src/include/device/i2c.h
+++ b/src/include/device/i2c.h
@@ -100,7 +100,7 @@ static inline int i2c_read_raw(unsigned int bus, uint8_t chip, uint8_t *data,
* [start][slave addr][w][data][stop]
*/
static inline int i2c_write_raw(unsigned int bus, uint8_t chip, uint8_t *data,
- int len)
+ int len)
{
struct i2c_seg seg =
{ .read = 0, .chip = chip, .buf = data, .len = len };