From: Stefan Roese <sr@denx.de>
Date: Tue, 24 Jun 2008 15:15:22 +0000 (+0200)
Subject: ppc4xx: Fix compilation problems with phys_size_t
X-Git-Tag: v2025.01-rc5-pxa1908~22076^2~1
X-Git-Url: http://git.dujemihanovic.xyz/repo?a=commitdiff_plain;h=93262af85e3e9d9974c6c08fbd37a9a72e090ca2;p=u-boot.git

ppc4xx: Fix compilation problems with phys_size_t

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@denx.de>
---

diff --git a/board/amirix/ap1000/serial.c b/board/amirix/ap1000/serial.c
index 5e9e3a31ee..811f1aa7a2 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 0b08a39f90..8460893114 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 ae88994b2c..dddd06effa 100644
--- a/board/exbitgen/flash.c
+++ b/board/exbitgen/flash.c
@@ -28,6 +28,7 @@
  * Chris Hallinan - DS4.COM, Inc. - clh@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 659314572a..2e9ffa29ba 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 ba41f856e4..ff5cadbe70 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>