diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/drivers/intel/fsp2_0/header_display.c | 6 | ||||
-rw-r--r-- | src/drivers/intel/fsp2_0/hob_display.c | 4 | ||||
-rw-r--r-- | src/drivers/intel/fsp2_0/memory_init.c | 2 | ||||
-rw-r--r-- | src/drivers/intel/fsp2_0/util.c | 2 |
4 files changed, 7 insertions, 7 deletions
diff --git a/src/drivers/intel/fsp2_0/header_display.c b/src/drivers/intel/fsp2_0/header_display.c index 543c075846..f10e2fa136 100644 --- a/src/drivers/intel/fsp2_0/header_display.c +++ b/src/drivers/intel/fsp2_0/header_display.c @@ -28,7 +28,7 @@ void fsp_print_header_info(const struct fsp_header *hdr) revision.val = hdr->fsp_revision; - printk(BIOS_SPEW, "Spec version: v%u.%u\n", (hdr->spec_version >> 4 ), + printk(BIOS_SPEW, "Spec version: v%u.%u\n", (hdr->spec_version >> 4), hdr->spec_version & 0xf); printk(BIOS_SPEW, "Revision: %u.%u.%u, Build Number %u\n", revision.rev.major, @@ -36,8 +36,8 @@ void fsp_print_header_info(const struct fsp_header *hdr) revision.rev.revision, revision.rev.bld_num); printk(BIOS_SPEW, "Type: %s/%s\n", - (hdr->component_attribute & 1 ) ? "release" : "debug", - (hdr->component_attribute & 2 ) ? "test" : "official"); + (hdr->component_attribute & 1) ? "release" : "debug", + (hdr->component_attribute & 2) ? "test" : "official"); printk(BIOS_SPEW, "image ID: %s, base 0x%lx + 0x%zx\n", hdr->image_id, hdr->image_base, hdr->image_size); printk(BIOS_SPEW, "\tConfig region 0x%zx + 0x%zx\n", diff --git a/src/drivers/intel/fsp2_0/hob_display.c b/src/drivers/intel/fsp2_0/hob_display.c index c56075b873..7257aec7c5 100644 --- a/src/drivers/intel/fsp2_0/hob_display.c +++ b/src/drivers/intel/fsp2_0/hob_display.c @@ -17,7 +17,7 @@ struct hob_type_name { const char *name; } __attribute__((packed)); -static const struct hob_type_name hob_type_names [] = { +static const struct hob_type_name hob_type_names[] = { { HOB_TYPE_HANDOFF, "HOB_TYPE_HANDOFF" }, { HOB_TYPE_MEMORY_ALLOCATION, "HOB_TYPE_MEMORY_ALLOCATION" }, { HOB_TYPE_RESOURCE_DESCRIPTOR, "HOB_TYPE_RESOURCE_DESCRIPTOR" }, @@ -190,7 +190,7 @@ void fsp_display_hobs(void) /* Display the HOB header */ printk(BIOS_SPEW, "0x%p, 0x%08x bytes: %s\n", hob, hob->length, fsp_get_hob_type_name(hob)); - switch(hob->type) { + switch (hob->type) { default: soc_display_hob(hob); break; diff --git a/src/drivers/intel/fsp2_0/memory_init.c b/src/drivers/intel/fsp2_0/memory_init.c index e9386d6f8d..46dd2ef8d5 100644 --- a/src/drivers/intel/fsp2_0/memory_init.c +++ b/src/drivers/intel/fsp2_0/memory_init.c @@ -228,7 +228,7 @@ static void fsp_fill_mrc_cache(FSPM_ARCH_UPD *arch_upd, bool s3wake, /* MRC cache found */ arch_upd->NvsBufferPtr = data; arch_upd->BootMode = s3wake ? - FSP_BOOT_ON_S3_RESUME: + FSP_BOOT_ON_S3_RESUME : FSP_BOOT_ASSUMING_NO_CONFIGURATION_CHANGES; printk(BIOS_SPEW, "MRC cache found, size %zx bootmode:%d\n", region_device_sz(&rdev), arch_upd->BootMode); diff --git a/src/drivers/intel/fsp2_0/util.c b/src/drivers/intel/fsp2_0/util.c index 7453b599ae..f84d69cec5 100644 --- a/src/drivers/intel/fsp2_0/util.c +++ b/src/drivers/intel/fsp2_0/util.c @@ -107,7 +107,7 @@ void fsp_handle_reset(uint32_t status) printk(BIOS_SPEW, "FSP: handling reset type %x\n", status); - switch(status) { + switch (status) { case FSP_STATUS_RESET_REQUIRED_COLD: hard_reset(); break; |