summaryrefslogtreecommitdiff
path: root/board/ml2
diff options
context:
space:
mode:
authorMarkus Klotzbuecher <mk@denx.de>2008-07-10 10:26:07 +0200
committerMarkus Klotzbuecher <mk@denx.de>2008-07-10 10:26:07 +0200
commit794a5924972fc8073616e98a2668da4a5f9aea90 (patch)
treedd0db39b3e183b5bcb0300d5377d7a0d5ac5fd0c /board/ml2
parentf2aeecc320f5b181b30effcaa67683aec8d5a843 (diff)
parent4188f0491886b3b486164e819c0a83fdb97efd7d (diff)
Merge branch 'master' of git://www.denx.de/git/u-boot
Diffstat (limited to 'board/ml2')
-rw-r--r--board/ml2/Makefile2
-rw-r--r--board/ml2/init.S4
-rw-r--r--board/ml2/ml2.c2
-rw-r--r--board/ml2/serial.c2
4 files changed, 3 insertions, 7 deletions
diff --git a/board/ml2/Makefile b/board/ml2/Makefile
index 731e8fea11..2a9366656f 100644
--- a/board/ml2/Makefile
+++ b/board/ml2/Makefile
@@ -39,7 +39,7 @@ clean:
rm -f $(SOBJS) $(OBJS)
distclean: clean
- rm -f $(LIB) core *.bak .depend
+ rm -f $(LIB) core *.bak $(obj).depend
#########################################################################
diff --git a/board/ml2/init.S b/board/ml2/init.S
index 80f98c5bd9..9064d3b669 100644
--- a/board/ml2/init.S
+++ b/board/ml2/init.S
@@ -28,7 +28,3 @@
.globl ext_bus_cntlr_init
ext_bus_cntlr_init:
blr
-
- .globl sdram_init
-sdram_init:
- blr
diff --git a/board/ml2/ml2.c b/board/ml2/ml2.c
index f32e512d4f..981e1decda 100644
--- a/board/ml2/ml2.c
+++ b/board/ml2/ml2.c
@@ -53,7 +53,7 @@ int checkboard (void)
}
-long int initdram (int board_type)
+phys_size_t initdram (int board_type)
{
return 32 * 1024 * 1024;
}
diff --git a/board/ml2/serial.c b/board/ml2/serial.c
index 659314572a..c18815bf88 100644
--- a/board/ml2/serial.c
+++ b/board/ml2/serial.c
@@ -19,9 +19,9 @@
*
*/
+#include <common.h>
#include <asm/u-boot.h>
#include <asm/processor.h>
-#include <common.h>
#include <command.h>
#include <configs/ML2.h>