mxs: Use correct function name to initialize dram
authorFabio Estevam <fabio.estevam@freescale.com>
Sat, 18 Aug 2012 13:28:12 +0000 (13:28 +0000)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Sat, 1 Sep 2012 12:58:27 +0000 (14:58 +0200)
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>
arch/arm/include/asm/arch-mxs/sys_proto.h

index 9d1e5999dad682a95789ec468727efed1595ce8b..46103632e33bc6ad0ea3bcdd04c7a16509623ca3 100644 (file)
@@ -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__ */