[coreboot] New patch to review for coreboot: 9f88de6 fix compilation of intel/sch northbridge code with gcc 4.6

Stefan Reinauer (stefan.reinauer@coreboot.org) gerrit at coreboot.org
Fri Oct 14 02:09:21 CEST 2011


Stefan Reinauer (stefan.reinauer at coreboot.org) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/264

-gerrit

commit 9f88de6eea53205fac34158c9c71f258a159a364
Author: Stefan Reinauer <stefan.reinauer at coreboot.org>
Date:   Thu Oct 13 16:53:11 2011 -0700

    fix compilation of intel/sch northbridge code with gcc 4.6
    
    Change-Id: I57804dff9e37f0127900ebb7a67118382944eb89
    Signed-off-by: Stefan Reinauer <reinauer at google.com>
---
 src/northbridge/intel/sch/raminit.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/src/northbridge/intel/sch/raminit.c b/src/northbridge/intel/sch/raminit.c
index 5e49682..ae308ee 100644
--- a/src/northbridge/intel/sch/raminit.c
+++ b/src/northbridge/intel/sch/raminit.c
@@ -70,6 +70,9 @@ static u32 detect_softstrap_base(void)
 	case 4:
 		base_addr = 0xFFFE0000;
 		break;
+	default:
+		base_addr = 0;
+		die("No valid softstrap base found.\n");
 	}
 	return base_addr;
 }




More information about the coreboot mailing list