[coreboot-gerrit] New patch to review for coreboot: drivers/intel/fsp1_0/fsp_util.c: Fix indentation

Martin Roth (martinroth@google.com) gerrit at coreboot.org
Mon Dec 21 21:02:01 CET 2015


Martin Roth (martinroth at google.com) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/12780

-gerrit

commit e1014e11dda88c7d21cde78dceccff9d67a4aa68
Author: Martin Roth <martinroth at google.com>
Date:   Mon Dec 21 13:01:45 2015 -0700

    drivers/intel/fsp1_0/fsp_util.c: Fix indentation
    
    - Also update post code comment to keep under 80 characters.
    
    Change-Id: Id0fd0ee5660f2628fe33188855bebb6e3eea8d2e
    Signed-off-by: Martin Roth <martinroth at google.com>
---
 src/drivers/intel/fsp1_0/fsp_util.c | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/src/drivers/intel/fsp1_0/fsp_util.c b/src/drivers/intel/fsp1_0/fsp_util.c
index 85ee9a9..a3fef2d 100644
--- a/src/drivers/intel/fsp1_0/fsp_util.c
+++ b/src/drivers/intel/fsp1_0/fsp_util.c
@@ -214,10 +214,11 @@ void print_fsp_info(void) {
 
 	if (fsp_header_ptr == NULL)
 		fsp_header_ptr = (void *)find_fsp();
-		if ((u32)fsp_header_ptr < 0xff) {
-			post_code(0x4F); /* output something in case there is no serial */
-			die("Can't find the FSP!\n");
-		}
+
+	if ((u32)fsp_header_ptr < 0xff) {
+		post_code(0x4F); /* post code in case there is no serial */
+		die("Can't find the FSP!\n");
+	}
 
 	if (FspHobListPtr == NULL) {
 		FspHobListPtr = (void*)*((u32*) cbmem_find(CBMEM_ID_HOB_POINTER));



More information about the coreboot-gerrit mailing list