mxs: Rename 'mx28_dram_init' to 'mxs_dram_init'
authorOtavio Salvador <otavio@ossystems.com.br>
Sun, 19 Aug 2012 04:58:30 +0000 (04:58 +0000)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Sat, 1 Sep 2012 12:58:28 +0000 (14:58 +0200)
The DRAM initialization, after SPL has complete, is exactly the same
for all mxs SoCs so we should name it accordinly.

The following boards has been changed:

 * apx4devkit
 * m28evk
 * mx28evk
 * sc_sps_1

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Acked-by: Marek Vasut <marex@denx.de>
Acked-by: Veli-Pekka Peltola <veli-pekka.peltola@bluegiga.com>
arch/arm/cpu/arm926ejs/mxs/mxs.c
arch/arm/include/asm/arch-mxs/sys_proto.h
board/bluegiga/apx4devkit/apx4devkit.c
board/denx/m28evk/m28evk.c
board/freescale/mx28evk/mx28evk.c
board/schulercontrol/sc_sps_1/sc_sps_1.c

index a1769fda1468d4a9ffd44fde8e9cf1fdb2f8f35f..c8cda6a1d1dfc7d8dc3afa6369132d833829b642 100644 (file)
@@ -320,13 +320,13 @@ void imx_get_mac_from_fuse(int dev_id, unsigned char *mac)
 }
 #endif
 
-int mx28_dram_init(void)
+int mxs_dram_init(void)
 {
        struct mxs_spl_data *data = (struct mxs_spl_data *)
                ((CONFIG_SYS_TEXT_BASE - sizeof(struct mxs_spl_data)) & ~0xf);
 
        if (data->mem_dram_size == 0) {
-               printf("MX28:\n"
+               printf("MXS:\n"
                        "Error, the RAM size passed up from SPL is 0!\n");
                hang();
        }
index 9e4a4c9b425c4af5ed9c2e51710b43bbbe098455..fc84808388c59a939f60bc9f17cc20d81407182e 100644 (file)
@@ -69,6 +69,6 @@ struct mxs_spl_data {
        uint32_t        mem_dram_size;
 };
 
-int mx28_dram_init(void);
+int mxs_dram_init(void);
 
 #endif /* __SYS_PROTO_H__ */
index 5a1042ec5cb24943ea69ea9fdcacb1a5c9599c64..ae48ab58f8c031383a7dc7e0a9aa85bf701d46d7 100644 (file)
@@ -55,7 +55,7 @@ int board_early_init_f(void)
 
 int dram_init(void)
 {
-       return mx28_dram_init();
+       return mxs_dram_init();
 }
 
 int board_init(void)
index 74da3ea7fdd6ebd7c673f427fae17008175790ef..9473d10d56831f6d7f574ae81c2fcbf259334839 100644 (file)
@@ -72,7 +72,7 @@ int board_init(void)
 
 int dram_init(void)
 {
-       return mx28_dram_init();
+       return mxs_dram_init();
 }
 
 #ifdef CONFIG_CMD_MMC
index 1320277234dda9d96a41fe2cab6f5000d1357fb1..867d3c8518fb1dbf3c7a9f07595c33ff92df457c 100644 (file)
@@ -64,7 +64,7 @@ int board_early_init_f(void)
 
 int dram_init(void)
 {
-       return mx28_dram_init();
+       return mxs_dram_init();
 }
 
 int board_init(void)
index 5f58e0b088cfee50b2bfdc64f364f5c562ed6ce2..fda191a395609b0de8a7d103d093817357a9b7d2 100644 (file)
@@ -72,7 +72,7 @@ int board_init(void)
 
 int dram_init(void)
 {
-       return mx28_dram_init();
+       return mxs_dram_init();
 }
 
 #ifdef CONFIG_CMD_MMC