summaryrefslogtreecommitdiff
path: root/board/netstal/hcu4
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2008-01-17 14:29:04 +0100
committerStefan Roese <sr@denx.de>2008-01-17 14:29:04 +0100
commitba52be3d0e618c26070e93aaf3c1f2d2adf5571f (patch)
tree81c91c1d870bef0e152dec3c8795855656e891d5 /board/netstal/hcu4
parent055606bd25e88c0cd04ad348a679a04b1b616bee (diff)
downloadu-boot-imx-ba52be3d0e618c26070e93aaf3c1f2d2adf5571f.zip
u-boot-imx-ba52be3d0e618c26070e93aaf3c1f2d2adf5571f.tar.gz
u-boot-imx-ba52be3d0e618c26070e93aaf3c1f2d2adf5571f.tar.bz2
ppc4xx: Fix compilation warnings and coding style issues in HCU4/HCU5
Signed-off-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'board/netstal/hcu4')
-rw-r--r--board/netstal/hcu4/Makefile4
-rw-r--r--board/netstal/hcu4/hcu4.c1
2 files changed, 3 insertions, 2 deletions
diff --git a/board/netstal/hcu4/Makefile b/board/netstal/hcu4/Makefile
index c0d719f..b13d9d4 100644
--- a/board/netstal/hcu4/Makefile
+++ b/board/netstal/hcu4/Makefile
@@ -27,11 +27,11 @@ vpath hcu_flash.c ../common
vpath nm_bsp.c ../common
# NOBJS : Netstal common objects
-NOBJS = fixed_sdram.o hcu_flash.o nm_bsp.o
+NOBJS = ../common/fixed_sdram.o ../common/hcu_flash.o ../common/nm_bsp.o
COBJS = $(BOARD).o
SOBJS =
-SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c) ../common/$(NOBJS:.o=.c)
+SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c) $(NOBJS:.o=.c)
OBJS := $(addprefix $(obj),$(COBJS))
NOBJS := $(addprefix $(obj),$(NOBJS))
SOBJS := $(addprefix $(obj),$(SOBJS))
diff --git a/board/netstal/hcu4/hcu4.c b/board/netstal/hcu4/hcu4.c
index 714b98e..4fbe701 100644
--- a/board/netstal/hcu4/hcu4.c
+++ b/board/netstal/hcu4/hcu4.c
@@ -37,6 +37,7 @@ DECLARE_GLOBAL_DATA_PTR;
#if defined(DEBUG)
void show_sdram_registers(void);
#endif
+long int fixed_hcu4_sdram (unsigned int dram_size);
/*
* This function is run very early, out of flash, and before devices are