Browse Source

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>
Fabio Estevam 11 years ago
parent
commit
c55068e5b8
1 changed files with 1 additions and 1 deletions
  1. 1 1
      arch/arm/include/asm/arch-mxs/sys_proto.h

+ 1 - 1
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__ */