summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabio Estevam <fabio.estevam@freescale.com>2012-08-18 13:28:12 +0000
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2012-09-01 14:58:27 +0200
commitc55068e5b86b2fac47a20d8d4ab2c877d9702bda (patch)
tree1f39588b95478c2c506733f9ff0e27a1bed4040a
parent685659c54324c691a2b1f6e020c141bf3672efe1 (diff)
downloadu-boot-imx-c55068e5b86b2fac47a20d8d4ab2c877d9702bda.zip
u-boot-imx-c55068e5b86b2fac47a20d8d4ab2c877d9702bda.tar.gz
u-boot-imx-c55068e5b86b2fac47a20d8d4ab2c877d9702bda.tar.bz2
mxs: Use correct function name to initialize dram
commit d92591a (mxs: Convert sys_proto.h prefixes to 'mxs') introduced a mxs_dram_init() function, which is not used anywhere. Fix it, so that the following warning goes away: mx28evk.c: In function ‘dram_init’: mx28evk.c:67:2: warning: implicit declaration of function ‘mx28_dram_init’ [-Wimplicit-function-declaration] Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> Acked-by: Marek Vasut <marex@denx.de> Acked-by: Otavio Salvador <otavio@ossystems.com.br>
-rw-r--r--arch/arm/include/asm/arch-mxs/sys_proto.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/include/asm/arch-mxs/sys_proto.h b/arch/arm/include/asm/arch-mxs/sys_proto.h
index 9d1e599..4610363 100644
--- a/arch/arm/include/asm/arch-mxs/sys_proto.h
+++ b/arch/arm/include/asm/arch-mxs/sys_proto.h
@@ -69,6 +69,6 @@ struct mxs_spl_data {
uint32_t mem_dram_size;
};
-int mxs_dram_init(void);
+int mx28_dram_init(void);
#endif /* __SYS_PROTO_H__ */