diff options
author | Stefan Roese <sr@denx.de> | 2008-01-17 14:29:04 +0100 |
---|---|---|
committer | Stefan Roese <sr@denx.de> | 2008-01-17 14:29:04 +0100 |
commit | ba52be3d0e618c26070e93aaf3c1f2d2adf5571f (patch) | |
tree | 81c91c1d870bef0e152dec3c8795855656e891d5 /board/netstal/hcu4 | |
parent | 055606bd25e88c0cd04ad348a679a04b1b616bee (diff) | |
download | u-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/Makefile | 4 | ||||
-rw-r--r-- | board/netstal/hcu4/hcu4.c | 1 |
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 |