sb/intel/ibexpeak: Align to coreboot's coding style
Tested with BUILD_TIMELESS=1, Packard Bell MS2290 remains identical.
Change-Id: I30512ef7ff7eb091e1f880c43a0a9ecf8625a710
Signed-off-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/46530
Reviewed-by: Felix Singer <felixsinger@posteo.net>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
diff --git a/src/southbridge/intel/ibexpeak/me.c b/src/southbridge/intel/ibexpeak/me.c
index b355d9d..bff8d24 100644
--- a/src/southbridge/intel/ibexpeak/me.c
+++ b/src/southbridge/intel/ibexpeak/me.c
@@ -119,13 +119,13 @@
static inline void write_cb(u32 dword)
{
- write32(mei_base_address + (MEI_H_CB_WW/sizeof(u32)), dword);
+ write32(mei_base_address + (MEI_H_CB_WW / sizeof(u32)), dword);
mei_dump(NULL, dword, MEI_H_CB_WW, "WRITE");
}
static inline u32 read_cb(void)
{
- u32 dword = read32(mei_base_address + (MEI_ME_CB_RW/sizeof(u32)));
+ u32 dword = read32(mei_base_address + (MEI_ME_CB_RW / sizeof(u32)));
mei_dump(NULL, dword, MEI_ME_CB_RW, "READ");
return dword;
}
@@ -261,9 +261,8 @@
udelay(ME_DELAY);
}
if (!n) {
- printk(BIOS_ERR, "ME: timeout waiting for data: expected "
- "%u, available %u\n", expected,
- me.buffer_write_ptr - me.buffer_read_ptr);
+ printk(BIOS_ERR, "ME: timeout waiting for data: expected %u, available %u\n",
+ expected, me.buffer_write_ptr - me.buffer_read_ptr);
return -1;
}
@@ -298,8 +297,8 @@
/* Make sure caller passed a buffer with enough space */
if (ndata != (rsp_bytes >> 2)) {
- printk(BIOS_ERR, "ME: not enough room in response buffer: "
- "%u != %u\n", ndata, rsp_bytes >> 2);
+ printk(BIOS_ERR, "ME: not enough room in response buffer: %u != %u\n",
+ ndata, rsp_bytes >> 2);
return -1;
}