summaryrefslogtreecommitdiff
path: root/board/canmb
diff options
context:
space:
mode:
Diffstat (limited to 'board/canmb')
-rw-r--r--board/canmb/Makefile2
-rw-r--r--board/canmb/canmb.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/board/canmb/Makefile b/board/canmb/Makefile
index 23d410d..b6b67d8 100644
--- a/board/canmb/Makefile
+++ b/board/canmb/Makefile
@@ -42,7 +42,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/canmb/canmb.c b/board/canmb/canmb.c
index 1782b31..d3711d0 100644
--- a/board/canmb/canmb.c
+++ b/board/canmb/canmb.c
@@ -82,7 +82,7 @@ static void sdram_start (int hi_addr)
*/
#if defined(CONFIG_MPC5200)
-long int initdram (int board_type)
+phys_size_t initdram (int board_type)
{
ulong dramsize = 0;
ulong dramsize2 = 0;
@@ -185,7 +185,7 @@ long int initdram (int board_type)
#elif defined(CONFIG_MGT5100)
-long int initdram (int board_type)
+phys_size_t initdram (int board_type)
{
ulong dramsize = 0;
#ifndef CFG_RAMBOOT