[coreboot] New patch to review for coreboot: cbb2193 Include byteorder.h for the definition of ntohl in romstage.c

Stefan Reinauer (stefan.reinauer@coreboot.org) gerrit at coreboot.org
Tue Mar 19 01:58:46 CET 2013


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

-gerrit

commit cbb2193744987a6663afed23317ffed03dc70c79
Author: Hung-Te Lin <hungte at chromium.org>
Date:   Fri Jan 18 16:50:25 2013 +0800

    Include byteorder.h for the definition of ntohl in romstage.c
    
    A fix to eliminate warnings when building romstage files with ChromeOS
    compilers
    
    Change-Id: Ia5d7bbdde3aa3439fd493f5795f2cc2bf4c4c187
    Signed-off-by: Hung-Te Lin <hungte at chromium.org>
---
 src/mainboard/google/parrot/romstage.c  | 1 +
 src/mainboard/samsung/stumpy/romstage.c | 1 +
 2 files changed, 2 insertions(+)

diff --git a/src/mainboard/google/parrot/romstage.c b/src/mainboard/google/parrot/romstage.c
index 110c398..fc14b9b 100644
--- a/src/mainboard/google/parrot/romstage.c
+++ b/src/mainboard/google/parrot/romstage.c
@@ -22,6 +22,7 @@
 #include <string.h>
 #include <lib.h>
 #include <timestamp.h>
+#include <arch/byteorder.h>
 #include <arch/io.h>
 #include <arch/romcc_io.h>
 #include <device/pci_def.h>
diff --git a/src/mainboard/samsung/stumpy/romstage.c b/src/mainboard/samsung/stumpy/romstage.c
index 5fecfef..1fad949 100644
--- a/src/mainboard/samsung/stumpy/romstage.c
+++ b/src/mainboard/samsung/stumpy/romstage.c
@@ -22,6 +22,7 @@
 #include <string.h>
 #include <lib.h>
 #include <timestamp.h>
+#include <arch/byteorder.h>
 #include <arch/io.h>
 #include <arch/romcc_io.h>
 #include <device/pci_def.h>



More information about the coreboot mailing list