summaryrefslogtreecommitdiff
path: root/board/netvia
diff options
context:
space:
mode:
Diffstat (limited to 'board/netvia')
-rw-r--r--board/netvia/netvia.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/netvia/netvia.c b/board/netvia/netvia.c
index 856b776..4140bac 100644
--- a/board/netvia/netvia.c
+++ b/board/netvia/netvia.c
@@ -245,7 +245,7 @@ int checkboard(void)
#define MCR_MCLF(x) ((unsigned long)((x) & 15) << (31 - 23))
#define MCR_MCLF_MASK MCR_MCLF(15)
-long int initdram(int board_type)
+phys_size_t initdram(int board_type)
{
volatile immap_t *immap = (immap_t *) CFG_IMMR;
volatile memctl8xx_t *memctl = &immap->im_memctl;