summaryrefslogtreecommitdiff
path: root/src/mainboard
diff options
context:
space:
mode:
authorHung-Te Lin <hungte@chromium.org>2013-01-18 16:50:25 +0800
committerRonald G. Minnich <rminnich@gmail.com>2013-03-19 05:26:29 +0100
commite29e2ff8e8fb919c1074e3d31076f83b0a1aac45 (patch)
tree20c2eea1c900774e27ecff5537d373c500df7745 /src/mainboard
parent8c20399a42a6bb76f537042b4d7ba725ac78f10c (diff)
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@chromium.org> Reviewed-on: http://review.coreboot.org/2781 Tested-by: build bot (Jenkins) Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
Diffstat (limited to 'src/mainboard')
-rw-r--r--src/mainboard/google/parrot/romstage.c1
-rw-r--r--src/mainboard/samsung/stumpy/romstage.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/mainboard/google/parrot/romstage.c b/src/mainboard/google/parrot/romstage.c
index 110c398857..fc14b9b044 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 5fecfef678..1fad9493c6 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>