summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2016-09-17 20:23:10 +0200
committerPatrick Georgi <pgeorgi@google.com>2016-09-20 17:38:36 +0200
commitc92abedd3a472091300467bbda45c3f77bd5b1c3 (patch)
tree71b23117bbd99ee9261392e8746e6e1101a859f4
parent69d658f59df4a72a647663115c506849e6012ee1 (diff)
downloadcoreboot-c92abedd3a472091300467bbda45c3f77bd5b1c3.tar.xz
northbridge/intel/i82830: Add space around operators
Change-Id: Ic4e287209cc45fae574e7af9d45b8a0e648ef686 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/16627 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi <pgeorgi@google.com>
-rw-r--r--src/northbridge/intel/i82830/smihandler.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/northbridge/intel/i82830/smihandler.c b/src/northbridge/intel/i82830/smihandler.c
index 667f874c42..cb3514136d 100644
--- a/src/northbridge/intel/i82830/smihandler.c
+++ b/src/northbridge/intel/i82830/smihandler.c
@@ -159,9 +159,9 @@ static void mbi_call(u8 subf, banner_id_t *banner_id)
printk(BIOS_DEBUG, "|- MBI_QueryInterface\n");
version = (version_t *)banner_id;
version->banner.retsts = MSH_OK;
- version->versionmajor=1;
- version->versionminor=3;
- version->smicombuffersize=0x1000;
+ version->versionmajor = 1;
+ version->versionminor = 3;
+ version->smicombuffersize = 0x1000;
break;
}
case 0x0002:
@@ -178,10 +178,10 @@ static void mbi_call(u8 subf, banner_id_t *banner_id)
printk(BIOS_DEBUG, "|- MBI_GetObjectHeader\n");
printk(BIOS_DEBUG, "| |- objnum = %d\n", obj_header->objnum);
- int i, count=0;
+ int i, count = 0;
obj_header->banner.retsts = MSH_IF_NOT_FOUND;
- for (i=0; i<mbi_len;) {
+ for (i = 0; i < mbi_len;) {
int len;
if (!(mbi[i] == 0xf0 && mbi [i+1] == 0xf6)) {
@@ -207,7 +207,7 @@ static void mbi_call(u8 subf, banner_id_t *banner_id)
obj_header->banner.retsts = MSH_OK;
printk(BIOS_DEBUG, "| |- MBI module '");
int j;
- for (j=0; j < mbi_header->name_len && mbi_header->name[j]; j++)
+ for (j = 0; j < mbi_header->name_len && mbi_header->name[j]; j++)
printk(BIOS_DEBUG, "%c", mbi_header->name[j]);
printk(BIOS_DEBUG, "' found.\n");
#ifdef DEBUG_SMI_I82830
@@ -235,10 +235,10 @@ static void mbi_call(u8 subf, banner_id_t *banner_id)
printk(BIOS_DEBUG, "| |- buflen = %x\n", getobj->buflen);
printk(BIOS_DEBUG, "| |- buffer = %x\n", getobj->buffer);
- int i, count=0;
+ int i, count = 0;
getobj->banner.retsts = MSH_IF_NOT_FOUND;
- for (i=0; i< mbi_len;) {
+ for (i = 0; i< mbi_len;) {
int headerlen, objectlen;
if (!(mbi[i] == 0xf0 && mbi [i+1] == 0xf6)) {