From 93262af85e3e9d9974c6c08fbd37a9a72e090ca2 Mon Sep 17 00:00:00 2001
From: Stefan Roese <sr@denx.de>
Date: Tue, 24 Jun 2008 17:15:22 +0200
Subject: [PATCH] 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>
---
 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(+)

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>
-- 
2.39.5