summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-uniphier/boards.c
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2016-03-30 20:17:02 +0900
committerMasahiro Yamada <yamada.masahiro@socionext.com>2016-04-01 00:59:47 +0900
commit5b660066464e3270e5b9c236bf15829df868176c (patch)
tree08a9af0114bba334d99743aa8711ef1e98ab7e8b /arch/arm/mach-uniphier/boards.c
parenta75ecfc2a637d581bc6ab21676f73e8eee1b13d2 (diff)
downloadtalos-obmc-uboot-5b660066464e3270e5b9c236bf15829df868176c.tar.gz
talos-obmc-uboot-5b660066464e3270e5b9c236bf15829df868176c.zip
ARM: uniphier: rename function names ph1_* to uniphier_*
Eliminate the "ph1"_ prefixes from function names because "uniphier_" describes the SoC familiy better. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'arch/arm/mach-uniphier/boards.c')
-rw-r--r--arch/arm/mach-uniphier/boards.c34
1 files changed, 17 insertions, 17 deletions
diff --git a/arch/arm/mach-uniphier/boards.c b/arch/arm/mach-uniphier/boards.c
index 5e98c3f33b..0d2b94de11 100644
--- a/arch/arm/mach-uniphier/boards.c
+++ b/arch/arm/mach-uniphier/boards.c
@@ -13,7 +13,7 @@
DECLARE_GLOBAL_DATA_PTR;
#if defined(CONFIG_ARCH_UNIPHIER_SLD3)
-static const struct uniphier_board_data ph1_sld3_data = {
+static const struct uniphier_board_data uniphier_sld3_data = {
.dram_freq = 1600,
.dram_nr_ch = 3,
.dram_ch[0] = {
@@ -35,7 +35,7 @@ static const struct uniphier_board_data ph1_sld3_data = {
#endif
#if defined(CONFIG_ARCH_UNIPHIER_LD4)
-static const struct uniphier_board_data ph1_ld4_data = {
+static const struct uniphier_board_data uniphier_ld4_data = {
.dram_freq = 1600,
.dram_nr_ch = 2,
.dram_ddr3plus = true,
@@ -54,7 +54,7 @@ static const struct uniphier_board_data ph1_ld4_data = {
#if defined(CONFIG_ARCH_UNIPHIER_PRO4)
/* 1GB RAM board */
-static const struct uniphier_board_data ph1_pro4_data = {
+static const struct uniphier_board_data uniphier_pro4_data = {
.dram_freq = 1600,
.dram_nr_ch = 2,
.dram_ch[0] = {
@@ -70,7 +70,7 @@ static const struct uniphier_board_data ph1_pro4_data = {
};
/* 2GB RAM board */
-static const struct uniphier_board_data ph1_pro4_2g_data = {
+static const struct uniphier_board_data uniphier_pro4_2g_data = {
.dram_freq = 1600,
.dram_nr_ch = 2,
.dram_ch[0] = {
@@ -87,7 +87,7 @@ static const struct uniphier_board_data ph1_pro4_2g_data = {
#endif
#if defined(CONFIG_ARCH_UNIPHIER_SLD8)
-static const struct uniphier_board_data ph1_sld8_data = {
+static const struct uniphier_board_data uniphier_sld8_data = {
.dram_freq = 1333,
.dram_nr_ch = 2,
.dram_ddr3plus = true,
@@ -105,7 +105,7 @@ static const struct uniphier_board_data ph1_sld8_data = {
#endif
#if defined(CONFIG_ARCH_UNIPHIER_PRO5)
-static const struct uniphier_board_data ph1_pro5_data = {
+static const struct uniphier_board_data uniphier_pro5_data = {
.dram_freq = 1866,
.dram_nr_ch = 2,
.dram_ch[0] = {
@@ -122,7 +122,7 @@ static const struct uniphier_board_data ph1_pro5_data = {
#endif
#if defined(CONFIG_ARCH_UNIPHIER_PXS2)
-static const struct uniphier_board_data proxstream2_data = {
+static const struct uniphier_board_data uniphier_pxs2_data = {
.dram_freq = 2133,
.dram_nr_ch = 3,
.dram_ch[0] = {
@@ -144,7 +144,7 @@ static const struct uniphier_board_data proxstream2_data = {
#endif
#if defined(CONFIG_ARCH_UNIPHIER_LD6B)
-static const struct uniphier_board_data ph1_ld6b_data = {
+static const struct uniphier_board_data uniphier_ld6b_data = {
.dram_freq = 1866,
.dram_nr_ch = 3,
.dram_ch[0] = {
@@ -172,27 +172,27 @@ struct uniphier_board_id {
static const struct uniphier_board_id uniphier_boards[] = {
#if defined(CONFIG_ARCH_UNIPHIER_SLD3)
- { "socionext,ph1-sld3", &ph1_sld3_data, },
+ { "socionext,ph1-sld3", &uniphier_sld3_data, },
#endif
#if defined(CONFIG_ARCH_UNIPHIER_LD4)
- { "socionext,ph1-ld4", &ph1_ld4_data, },
+ { "socionext,ph1-ld4", &uniphier_ld4_data, },
#endif
#if defined(CONFIG_ARCH_UNIPHIER_PRO4)
- { "socionext,ph1-pro4-ace", &ph1_pro4_2g_data, },
- { "socionext,ph1-pro4-sanji", &ph1_pro4_2g_data, },
- { "socionext,ph1-pro4", &ph1_pro4_data, },
+ { "socionext,ph1-pro4-ace", &uniphier_pro4_2g_data, },
+ { "socionext,ph1-pro4-sanji", &uniphier_pro4_2g_data, },
+ { "socionext,ph1-pro4", &uniphier_pro4_data, },
#endif
#if defined(CONFIG_ARCH_UNIPHIER_SLD8)
- { "socionext,ph1-sld8", &ph1_sld8_data, },
+ { "socionext,ph1-sld8", &uniphier_sld8_data, },
#endif
#if defined(CONFIG_ARCH_UNIPHIER_PRO5)
- { "socionext,ph1-pro5", &ph1_pro5_data, },
+ { "socionext,ph1-pro5", &uniphier_pro5_data, },
#endif
#if defined(CONFIG_ARCH_UNIPHIER_PXS2)
- { "socionext,proxstream2", &proxstream2_data, },
+ { "socionext,proxstream2", &uniphier_pxs2_data, },
#endif
#if defined(CONFIG_ARCH_UNIPHIER_LD6B)
- { "socionext,ph1-ld6b", &ph1_ld6b_data, },
+ { "socionext,ph1-ld6b", &uniphier_ld6b_data, },
#endif
};
OpenPOWER on IntegriCloud