[U-Boot-Users] [PATCH] ppc4xx: Fix compilation problems with phys_size_t
Stefan Roese
sr at denx.de
Tue Jun 24 17:18:34 CEST 2008
This patch includes <asm/types.h> before <asm/u-boot.h> in some 4xx
board specific files where it has been missing.
Signed-off-by: Stefan Roese <sr at denx.de>
---
board/amirix/ap1000/serial.c | 1 +
board/exbitgen/exbitgen.c | 1 +
board/exbitgen/flash.c | 1 +
board/ml2/serial.c | 1 +
board/xilinx/ml300/serial.c | 1 +
5 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/board/amirix/ap1000/serial.c b/board/amirix/ap1000/serial.c
index 5e9e3a3..811f1aa 100644
--- a/board/amirix/ap1000/serial.c
+++ b/board/amirix/ap1000/serial.c
@@ -19,6 +19,7 @@
*
*/
+#include <asm/types.h>
#include <asm/u-boot.h>
#include <asm/processor.h>
#include <common.h>
diff --git a/board/exbitgen/exbitgen.c b/board/exbitgen/exbitgen.c
index 0b08a39..8460893 100644
--- a/board/exbitgen/exbitgen.c
+++ b/board/exbitgen/exbitgen.c
@@ -1,3 +1,4 @@
+#include <asm/types.h>
#include <asm/u-boot.h>
#include <asm/processor.h>
#include <common.h>
diff --git a/board/exbitgen/flash.c b/board/exbitgen/flash.c
index ae88994..dddd06e 100644
--- a/board/exbitgen/flash.c
+++ b/board/exbitgen/flash.c
@@ -28,6 +28,7 @@
* Chris Hallinan - DS4.COM, Inc. - clh at net1plus.com
*/
+#include <asm/types.h>
#include <asm/u-boot.h>
#include <asm/processor.h>
#include <ppc4xx.h>
diff --git a/board/ml2/serial.c b/board/ml2/serial.c
index 6593145..2e9ffa2 100644
--- a/board/ml2/serial.c
+++ b/board/ml2/serial.c
@@ -19,6 +19,7 @@
*
*/
+#include <asm/types.h>
#include <asm/u-boot.h>
#include <asm/processor.h>
#include <common.h>
diff --git a/board/xilinx/ml300/serial.c b/board/xilinx/ml300/serial.c
index ba41f85..ff5cadb 100644
--- a/board/xilinx/ml300/serial.c
+++ b/board/xilinx/ml300/serial.c
@@ -36,6 +36,7 @@
*
*/
+#include <asm/types.h>
#include <asm/u-boot.h>
#include <asm/processor.h>
#include <common.h>
--
1.5.6
More information about the U-Boot
mailing list